Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.45ms] Passed 4 tests
This is a short check of server-side resources used by Custom Options tree
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.93 ▼1.82 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.06 ▼2.90 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 50.40 ▲7.14 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.37 ▼4.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.85 ▲8.07 |
Custom Option Tree /wp-admin/themes.php?page=edit-custom-option-tree | 3.25 | 34.01 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Options tree
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲179 | 15.11 ▲0.72 | 1.66 ▼0.39 | 43.21 ▼0.05 |
Dashboard /wp-admin | 2,342 ▲151 | 6.52 ▲0.63 | 131.60 ▲29.03 | 51.16 ▲12.50 |
Posts /wp-admin/edit.php | 2,258 ▲169 | 3.53 ▲1.47 | 68.49 ▲26.48 | 35.41 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 23.03 ▲4.95 | 645.86 ▲13.05 | 60.21 ▲0.43 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.26 ▲0.10 | 93.19 ▼6.71 | 43.13 ▲0.96 |
Custom Option Tree /wp-admin/themes.php?page=edit-custom-option-tree | 1,280 | 3.19 | 46.11 | 34.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/custom-options-tree/custom-option-tree.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
custom-options-tree/custom-option-tree.php 77% from 13 tests
The main PHP script in "Custom Options tree" version 1.3.1 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 208 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("custom-options-tree.php" instead of "custom-option-tree.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected444 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 70 | 134 | 388 |
JavaScript | 1 | 5 | 0 | 39 |
CSS | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 were not PNG files found in your plugin