-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add new metrics for feature attributes and features with attributes #50
Open
AngelaPGM
wants to merge
53
commits into
jmhorcas:develop
Choose a base branch
from
AngelaPGM:main
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add new URL with the online tool
…t introduces a new metric called features_with_attributes to the FMProperties enumeration. This metric calculates the number of features that have associated attributes.
- Implemented the ability to export an SVG chart to a PDF file using jsPDF. - Adjusted the SVG dimensions dynamically to fit the content before export. - Ensured the SVG dimensions are restored to their original values after export. - Included error handling to manage any issues during the export process.
- Implemented Bootstrap modal to display detailed metric information. - Replaced click tooltips with a modal for a better user experience. - Included metric description as a subtitle in the modal. - Ensured long words wrap correctly in both the modal and tooltips. - Added a "Copy" button in the modal to copy the content to the clipboard. - Temporarily disabled "Copy" button and changed its text to "Copied!" after copying.
…new feature of uploading a ZIP file. Also added error handling for ZIP uploads. Modified the logic to draw a diagram, although the diagram rendering is still pending implementation.
- Created a `process_files` function to handle multiple feature model files extracted from a ZIP archive. - Utilized `ThreadPoolExecutor` for concurrent processing of UVL files, improving efficiency. - Accumulated metrics from all valid UVL files and calculated their averages. - Ensured robust error handling and logging for each file processed. - Returned a JSON representation of the averaged metrics for integration with the web interface. - Integrated the `process_files` function into the `upload_zip` route, allowing users to upload and process ZIP archives containing multiple UVL feature models. - Implemented a D3.js chart in the HTML template to visualize the averaged metrics from the UVL files, providing an intuitive graphical representation for users.
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This pull request introduces two new metrics to the FMProperties enumeration:
feature_attributes
andfeatures_with_attributes
.Details