Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brief report of possible “bad” or “dangerous” values ​​detected in measurements of the project #3

Open
IoannisTachydromidis opened this issue Sep 15, 2024 · 0 comments

Comments

@IoannisTachydromidis
Copy link

Summary of Potential "Bad" or "Dangerous" Metric Values
I have identified several potentially problematic or "dangerous" metric values in the project. Below is a summary of these values along with their analysis:

Composition Metrics

CBO (Coupling Between Objects)
SignUpPage: CBO = 4
Analysis: High coupling (4), approaching the upper limit of the scale. This could lead to difficulties in maintenance and scalability.

RFC (Response For Class)
Main_Display: RFC = 73
Analysis: Very high RFC, nearly at the upper limit. Indicates that the class might be overly complex and difficult to understand and maintain.

WMC (Weighted Method Complexity)
SignUpPage: WMC = 10
Analysis: High WMC, close to the upper limit. Suggests that the class has a significant complexity in methods, increasing the likelihood of errors and making maintenance challenging.

Complexity Metrics

OCmax (Maximum Operation Complexity)
Forgot_Password: OCmax = 3.0
Analysis: High OCmax, nearing the upper limit. This may lead to methods that are difficult to maintain and understand.

WMC (Weighted Method Complexity)
SignUpPage: WMC = 10
Analysis: High WMC for the class, indicating many complex methods.

Dependency Metrics

Dcy (Number of Transitive Dependencies)
Signup: Dcy = 6.0
Analysis: High number of transitive dependencies, approaching the upper limit. This can lead to problems with code reuse and maintenance.

Dpt (Number of Transitive Dependents)
Forgot_Password: Dpt = 4.0
Analysis: High number of transitive dependents, nearly reaching the upper limit. Indicates that the class has many dependencies, which may create maintenance issues.

Lines of Code Metrics

LOC (Lines of Code)
Main_Display: LOC = 462
Analysis: Very high number of lines of code, close to the maximum limit. This suggests that the class may be overly large and difficult to maintain.

MOOD Metrics

Polymorphism Factor (PF)
Project: PF = 300%
Analysis: Extremely high polymorphism factor, far exceeding the maximum limit. This might indicate complex relationships that make the code difficult to understand.

Javadoc Coverage

Javadoc Class Coverage (Jc)
Project: 14.29%
Analysis: Very low class coverage with Javadoc. This indicates limited documentation, which may affect code understanding and maintenance.

Javadoc Method Coverage (Jm)
Project: 13.64%
Analysis: Very low method coverage with Javadoc. Indicates limited documentation for methods, which might affect code understanding and maintenance.

These values highlight areas of the code that may need attention and improvement to avoid future issues with maintenance and understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant