Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/custom-field-taxonomies/custom-field-taxonomies.php+25
Non-static method CFT_Admin::init() should not be called statically
Server metrics [RAM: ▼1.78MB] [CPU: ▼53.33ms] Passed 4 tests
This is a short check of server-side resources used by Custom Field Taxonomies
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.84 ▼0.41 |
Dashboard /wp-admin | 2.16 ▼1.14 | 7.75 ▼48.43 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 7.46 ▼47.44 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.72 | 7.75 ▼91.00 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 7.83 ▼26.43 |
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: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Field Taxonomies
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.27 ▼0.38 | 1.74 ▼0.26 | 37.87 ▼2.04 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.09 | 90.12 ▼4.65 | 40.54 ▼0.92 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▲0.04 | 36.72 ▼0.82 | 31.75 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,526 ▼7 | 17.69 ▼5.81 | 650.67 ▼31.73 | 51.63 ▼12.62 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▼0.07 | 97.00 ▼7.16 | 41.91 ▼4.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/custom-field-taxonomies/custom-field-taxonomies.php+25
Non-static method CFT_Admin::init() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% 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 50% 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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/custom-field-taxonomies/scb/Widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/custom-field-taxonomies/custom-field-taxonomies.php:13
- > PHP Fatal error
Uncaught Error: Class 'scbAdminPage' not found in wp-content/plugins/custom-field-taxonomies/scb/BoxesPage.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: taxonomy, meta, metadata, custom fields
custom-field-taxonomies/custom-field-taxonomies.php Passed 13 tests
Analyzing the main PHP file in "Custom Field Taxonomies" version 2.0.3
59 characters long description:
Convert custom fields to tags, categories or taxonomy terms
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
There were no executable files found in this plugin1,564 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 570 | 289 | 1,522 |
PO File | 1 | 14 | 21 | 42 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 5 | 25.00% |
▷ Concrete classes | 15 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 54 | 33.75% |
▷ Public methods | 127 | 79.38% |
▷ Protected methods | 24 | 15.00% |
▷ Private methods | 9 | 5.62% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin