Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.13ms] Passed 4 tests
Analyzing server-side resources used by Taxonomy Taxi
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.94 ▼1.23 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.41 ▲3.31 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 50.69 ▼2.96 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 88.63 ▼10.93 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.72 ▼5.40 |
Taxonomy Taxi /wp-admin/options-general.php?page=taxonomy_taxi | 3.27 | 31.10 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Taxonomy Taxi
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.69 ▼0.57 | 1.74 ▼0.02 | 40.63 ▼3.32 |
Dashboard /wp-admin | 2,210 ▲25 | 5.86 ▲0.07 | 105.50 ▲2.22 | 42.92 ▼1.18 |
Posts /wp-admin/edit.php | 2,183 ▲94 | 2.02 ▲0.05 | 40.36 ▼1.15 | 37.11 ▲1.73 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.62 ▼5.75 | 639.10 ▲30.72 | 54.88 ▼1.21 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▼0.00 | 93.60 ▼12.91 | 40.41 ▼2.87 |
Taxonomy Taxi /wp-admin/options-general.php?page=taxonomy_taxi | 836 | 2.09 | 25.43 | 23.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/taxonomy-taxi/views/admin/options-general_footer.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function Taxonomy_Taxi\\is_admin() in wp-content/plugins/taxonomy-taxi/index.php:11
- > PHP Notice
Undefined variable: version in wp-content/plugins/taxonomy-taxi/views/admin/options-general_footer.php on line 1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/taxonomy-taxi/views/admin/options-general_post-type.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function Taxonomy_Taxi\\add_action() in wp-content/plugins/taxonomy-taxi/admin.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/taxonomy-taxi/views/admin/edit-option.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/taxonomy-taxi/views/admin/options-general.php:5
- > PHP Notice
Undefined variable: taxonomies in wp-content/plugins/taxonomy-taxi/views/admin/options-general_post-type.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'Walker_CategoryDropdown' not found in wp-content/plugins/taxonomy-taxi/lib/Taxonomy_Taxi/Walker.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Taxonomy_Taxi\\is_admin() in wp-content/plugins/taxonomy-taxi/index.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 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
3 plugin tags: taxonomy, custom taxonomies, term
taxonomy-taxi/_plugin.php 92% from 13 tests
"Taxonomy Taxi" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("taxonomy-taxi.php" instead of "_plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,043 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 245 | 473 | 1,006 |
JSON | 2 | 0 | 0 | 23 |
JavaScript | 1 | 4 | 0 | 11 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 33 | 60.00% |
▷ Public methods | 52 | 94.55% |
▷ Protected methods | 2 | 3.64% |
▷ Private methods | 1 | 1.82% |
Functions | 14 | |
▷ Named functions | 5 | 35.71% |
▷ Anonymous functions | 9 | 64.29% |
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
No PNG images were found in this plugin