Software quality reflects how well a software conforms to given requirements (functional and non-functional), how much it shows characteristics like reliability, efficiency, security, maintainability.
Questions tagged [software-quality]
233 questions
                    
                    122
                    
            votes
                
                5 answers
            
        Is it possible exclude test directories from coverage.py reports?
I'm kind of a rookie with python unit testing, and particularly coverage.py.  Is it desirable to have coverage reports include the coverage of your actual test files?
Here's a screenshot of my HTML report as an example.
You can see that the report…
         
    
    
        Kyle Fox
        
- 3,133
- 4
- 23
- 26
                    64
                    
            votes
                
                5 answers
            
        coverage.py: exclude files
How do I exclude entire files from coverage.py reports?
According to the documentation you can exclude code by matching lines. I want to exclude entire files, so that the reports don't include 3rd party libraries. Am I missing something? Can it be…
         
    
    
        flybywire
        
- 261,858
- 191
- 397
- 503
                    47
                    
            votes
                
                34 answers
            
        Why do code quality discussions evoke strong reactions?
I like my code being in order, i.e. properly formatted, readable, designed, tested, checked for bugs, etc. In fact I am fanatic about it. (Maybe even more than fanatic...) But in my experience actions helping code quality are hardly implemented. (By…
         
    
    
        Peter Kofler
        
- 9,252
- 8
- 51
- 79
                    27
                    
            votes
                
                49 answers
            
        What do you do with a developer who does not test his code?
One of our developers is continually writing code and putting it into version control without testing it.  The quality of our code is suffering as a result.
Besides getting rid of the developer, how can I solve this problem?
EDIT
I have talked to…
         
    
    
        Charles Faiga
        
- 11,665
- 25
- 102
- 139
                    25
                    
            votes
                
                27 answers
            
        What code metric(s) convince you that provided code is "crappy"?
Code lines per file, methods per class, cyclomatic complexity and so on. Developers resist and workaround most if not all of them! There is a good Joel article on it (no time to find it now).
What code metric(s) you recommend for use to…
         
    
    
        Dandikas
        
- 2,426
- 2
- 24
- 32
                    24
                    
            votes
                
                22 answers
            
        Roadmap to a better programmer
Its always said that more you program, the better you become. Sounds good and true.
But I was wondering if there is a proven route to becoming a better programmer.
Something like:
Learn a
Learn b
Learn c > 'Now you are good to burn the engines'
Try…
         
    
    
        Manav Sharma
        
- 1,053
- 1
- 13
- 21
                    18
                    
            votes
                
                7 answers
            
        Manual testing Vs Automated testing
Testing can be mainly classified into manual and automated testing. With regard to this certain questions come to mind. 
They include:
What is the basic difference between the two types of testing?
What are the elements of challenges involved in…
         
    
    
        boddhisattva
        
- 6,908
- 11
- 48
- 72
                    14
                    
            votes
                
                3 answers
            
        Comparison of static code analysis tools in Linux?
Has anyone done any comparisons on static code analysis tools available to Linux? What are the strengths and weaknesses of the following tools:
Lintian, 
Sparse,
Splint,
RATS,
Using the -Wall option.
Would you consider that using just one of these…
         
    
    
        Makis
        
- 12,468
- 10
- 62
- 71
                    13
                    
            votes
                
                2 answers
            
        How to use the three steps of Jenkins Warnings Next Generation Plugin properly?
The Jenkins Warnings Next Generation Plugin's documentation for pipelines specifies three step variants:
publishIssues: Publish issues created by a static analysis scan
recordIssues: Record compiler warnings and static analysis…
         
    
    
        automatix
        
- 14,018
- 26
- 105
- 230
                    13
                    
            votes
                
                1 answer
            
        What is the advantage to use the Microsoft.CodeAnalysis.FxCopAnalyzers nuget over the default Managed Binary Analysis ruleset?
I currently use the Managed Binary Analysis and it looks like the nuget adds the same rules (maybe less).
I also use this SonarQube plugin: https://github.com/SonarQubeCommunity/sonar-fxcop.
What is the nuget for exactly?
         
    
    
        Shay
        
- 183
- 2
- 13
                    12
                    
            votes
                
                2 answers
            
        Is using Redux Hooks instead of connect() good design?
Currently there are two concepts how to connect a React component to the redux store: connect() and Redux Hooks. I was wondering whether using hooks is considered good software design.
It harms the Single Responsibility Principle because the…
         
    
    
        hendra
        
- 2,531
- 5
- 22
- 34
                    11
                    
            votes
                
                4 answers
            
        What are good ways to test a login page?
I get asked this question very frequently in my interviews. They draw username and password text fields and ask me what test cases I can come up with to ensure that this page works fine. My answers on this for some reason never seem to satisfy them.…
         
    
    
        Mugen
        
- 1,417
- 5
- 22
- 40
                    11
                    
            votes
                
                5 answers
            
        Software Development Costs Pyramid
A friend was telling me the other day that there is a pyramid for the costs of fixing a problem in the software development life cycle.  Where could I find this?
He was referring to the cost of fixing a problem.
For example,
To fix a problem at the…
         
    
    
        Matt McCormick
        
- 13,041
- 22
- 75
- 83
                    10
                    
            votes
                
                1 answer
            
        pylint W0622 (Redefining built-in) when overriding "standard" methods in subclasses
In Python, many methods define argument variables with "standardized" names, like:
def __exit__(self, type, value, traceback):
In the line above, variable type causes pylint to warn (W0622) that a built-in is being redefined: Redefining built-in…
         
    
    
        Starnuto di topo
        
- 3,215
- 5
- 32
- 66
                    10
                    
            votes
                
                6 answers
            
        How to find potential unchecked exceptions in Java?
In accordance with the Java specification, The Java compiler verifies automatically that all checked exceptions are caught, based on "throw" statements and method signatures, and ignores unchecked exceptions.
However, sometimes it would be useful…
         
    
    
        ocroquette
        
- 3,049
- 1
- 23
- 26