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
Installer ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼2.70ms] Passed 4 tests
Server-side resources used by Foxdell Folio Taxonomy Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.53 | 38.19 ▼4.81 |
Dashboard /wp-admin | 3.84 ▲0.54 | 51.94 ▲3.22 |
Posts /wp-admin/edit.php | 3.89 ▲0.54 | 51.44 ▼2.19 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 94.98 ▼7.00 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 44.74 ▲11.29 |
FoFo Taxonomy Toolkit /wp-admin/plugins.php?page=fofo-taxo-toolkit | 3.86 | 42.47 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
FoFo_Taxonomy_Toolkit_models |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Foxdell Folio Taxonomy Toolkit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲13 | 14.35 ▼0.24 | 1.74 ▼0.20 | 41.94 ▲1.36 |
Dashboard /wp-admin | 2,201 ▲21 | 5.58 ▼0.09 | 85.53 ▼7.82 | 40.86 ▼5.18 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.06 ▲0.02 | 40.32 ▼0.50 | 37.94 ▲3.52 |
Add New Post /wp-admin/post-new.php | 1,553 ▲24 | 18.65 ▲0.99 | 660.56 ▼18.72 | 56.18 ▼0.17 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.23 ▲0.04 | 100.94 ▼1.92 | 46.65 ▲4.70 |
FoFo Taxonomy Toolkit /wp-admin/plugins.php?page=fofo-taxo-toolkit | 1,822 | 2.05 | 23.82 | 33.92 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- FoFo_Taxonomy_Toolkit_models
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_block.php
- 38× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: display_state in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/post_list.php on line 10
- > PHP Notice
Undefined variable: display_state in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_list.php on line 10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/main.php:15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_edit.php:29
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_edit.php on line 27
- > PHP Notice
Undefined variable: taxo_item in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_new_terms.php on line 13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_new_terms.php on line 13
- > PHP Notice
Trying to get property 'classes' of non-object in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_new_terms.php on line 22
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/post_search.php:11
- > PHP Notice
Undefined variable: taxo_item in wp-content/plugins/foxdell-folio-taxonomy-toolkit/views/taxo_edit.php on line 27
- > PHP Notice
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: tools, admin, toolkit, taxonomy, terms...
foxdell-folio-taxonomy-toolkit/fofo-taxo-toolkit.php 92% from 13 tests
The main PHP script in "Foxdell Folio Taxonomy Toolkit" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("foxdell-folio-taxonomy-toolkit.php" instead of "fofo-taxo-toolkit.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
Good job! No executable or dangerous file extensions detected3,291 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 1,058 | 4,050 | 2,733 |
JavaScript | 2 | 197 | 102 | 390 |
CSS | 2 | 33 | 19 | 168 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 37.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 143 | |
▷ Static methods | 4 | 2.80% |
▷ Public methods | 69 | 48.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 74 | 51.75% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 11 | 91.67% |
▷ Class constants | 1 | 8.33% |
▷ Public constants | 1 | 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
18 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_40_ffc73d_1x400.png | 0.13KB | 0.16KB | 0.00% |
css/images/ui-bg_flat_50_5c5c5c_40x100.png | 0.21KB | 0.08KB | ▼ 58.77% |
css/images/ui-icons_4b8e0b_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-bg_highlight-soft_80_eeeeee_1x100.png | 0.09KB | 0.13KB | 0.00% |
css/images/ui-bg_glass_20_555555_1x400.png | 0.11KB | 0.15KB | 0.00% |