Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲0.98ms] Passed 4 tests
Server-side resources used by Serious Duplicated Terms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.43 ▼4.02 |
Dashboard /wp-admin | 3.43 ▲0.12 | 44.42 ▼0.41 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 50.48 ▲6.12 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 94.72 ▲5.59 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.13 ▲2.75 |
Analysis /wp-admin/admin.php?page=duplicated-analysis | 3.32 | 27.77 |
Configuration /wp-admin/admin.php?page=duplicated-configuration | 3.32 | 30.09 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Serious Duplicated Terms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲74 | 13.20 ▼1.57 | 1.87 ▼0.15 | 43.69 ▼8.67 |
Dashboard /wp-admin | 2,237 ▲49 | 4.84 ▼0.09 | 109.66 ▲1.82 | 40.95 ▼0.57 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.02 ▲0.02 | 40.51 ▲3.57 | 33.74 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 18.32 ▲0.51 | 615.53 ▼0.59 | 46.72 ▼0.16 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.16 ▼0.08 | 94.63 ▼14.00 | 44.33 ▲0.54 |
Analysis /wp-admin/admin.php?page=duplicated-analysis | 785 | 2.02 | 26.03 | 24.35 |
Configuration /wp-admin/admin.php?page=duplicated-configuration | 852 | 2.06 | 22.58 | 28.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Serious_Duplicated_Terms_Admin_Display' not found in wp-content/plugins/serious-duplicated-terms/admin/partials/class-serious-duplicated-terms-admin-display-ext.php:15
- > PHP Fatal error
Uncaught Error: Class 'Serious_Duplicated_Terms' not found in wp-content/plugins/serious-duplicated-terms/includes/class-serious-duplicated-terms-ext.php:15
- > PHP Fatal error
Uncaught Error: Class 'Serious_Duplicated_Terms_Admin' not found in wp-content/plugins/serious-duplicated-terms/admin/class-serious-duplicated-terms-admin-ext.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: tag, duplicates, optimization, taxonomy, category...
serious-duplicated-terms/serious-duplicated-terms.php Passed 13 tests
The main file in "Serious Duplicated Terms" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
89 characters long description:
Merge duplicated tags and categories to simplify and better organize your site navigation
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected539 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 188 | 436 | 536 |
JavaScript | 1 | 4 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 32 | 78.05% |
▷ Protected methods | 4 | 9.76% |
▷ Private methods | 5 | 12.20% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin