Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.88MB] [CPU: ▲2.64ms] Passed 4 tests
Analyzing server-side resources used by Simple Taxonomy Refreshed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 41.39 ▼3.14 |
Dashboard /wp-admin | 4.43 ▲1.08 | 62.04 ▼1.35 |
Posts /wp-admin/edit.php | 4.49 ▲1.13 | 57.34 ▲8.58 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.09 | 103.01 ▲7.17 |
Media Library /wp-admin/upload.php | 4.29 ▲1.06 | 45.28 ▲7.86 |
Terms Merge /wp-admin/admin.php?page=staxo_merge | 4.26 | 42.81 |
Add Taxonomy /wp-admin/admin.php?page=staxo_settings&action=add | 4.27 | 43.25 |
Terms Import /wp-admin/admin.php?page=staxo_import | 4.26 | 40.99 |
Configuration Export/Import /wp-admin/admin.php?page=staxo_config_file | 4.27 | 39.19 |
All Taxonomies /wp-admin/admin.php?page=staxo_settings | 4.27 | 38.96 |
Taxonomy List Order /wp-admin/admin.php?page=staxo_order | 4.27 | 41.07 |
Terms Migrate /wp-admin/admin.php?page=staxo_convert | 4.26 | 35.62 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_staxonomy |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Taxonomy Refreshed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲101 | 13.72 ▼1.01 | 1.68 ▲0.10 | 41.20 ▼2.44 |
Dashboard /wp-admin | 2,259 ▲89 | 5.45 ▼0.21 | 106.87 ▲0.16 | 44.20 ▲2.06 |
Posts /wp-admin/edit.php | 2,182 ▲82 | 2.51 ▲0.50 | 42.96 ▲3.60 | 53.05 ▲17.07 |
Add New Post /wp-admin/post-new.php | 6,408 ▲4,882 | 27.76 ▲4.48 | 794.57 ▲121.91 | 35.89 ▼23.66 |
Media Library /wp-admin/upload.php | 1,479 ▲82 | 4.87 ▲0.63 | 96.44 ▼4.27 | 41.72 ▼3.46 |
Terms Merge /wp-admin/admin.php?page=staxo_merge | 934 | 2.44 | 28.04 | 27.56 |
Add Taxonomy /wp-admin/admin.php?page=staxo_settings&action=add | 3,363 | 2.21 | 30.67 | 35.05 |
Terms Import /wp-admin/admin.php?page=staxo_import | 1,042 | 2.32 | 28.46 | 26.51 |
Configuration Export/Import /wp-admin/admin.php?page=staxo_config_file | 942 | 2.28 | 29.59 | 40.76 |
All Taxonomies /wp-admin/admin.php?page=staxo_settings | 1,219 | 2.34 | 32.33 | 28.19 |
Taxonomy List Order /wp-admin/admin.php?page=staxo_order | 960 | 2.61 | 37.97 | 42.59 |
Terms Migrate /wp-admin/admin.php?page=staxo_convert | 1,034 | 2.19 | 30.51 | 24.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_staxonomy
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-taxonomy-refreshed/simple-taxonomy-refreshed.php:38
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-widget.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: tags, block editor, taxonomy, category, taxonomies...
simple-taxonomy-refreshed/simple-taxonomy-refreshed.php Passed 13 tests
The entry point to "Simple Taxonomy Refreshed" version 3.2.0 is a PHP file that has certain tags in its header comment area
121 characters long description:
WordPress provides simple custom taxonomy, this plugin makes it even simpler, removing the need for you to write any code
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin6,545 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 630 | 1,837 | 5,197 |
JavaScript | 9 | 113 | 300 | 1,254 |
CSS | 4 | 14 | 9 | 94 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 83.78 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 6.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 131 | |
▷ Static methods | 111 | 84.73% |
▷ Public methods | 85 | 64.89% |
▷ Protected methods | 7 | 5.34% |
▷ Private methods | 39 | 29.77% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 1 | 9.09% |
▷ Class constants | 10 | 90.91% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected