Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.21ms] Passed 4 tests
A check of server-side resources used by Sydney Toolbox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.31 ▲6.47 |
Dashboard /wp-admin | 3.35 ▲0.00 | 49.66 ▼8.06 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.65 ▼0.95 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.75 ▼9.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.85 ▲1.84 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Sydney Toolbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.55 ▲0.15 | 1.76 ▼0.06 | 43.35 ▲4.88 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.05 | 84.25 ▼4.88 | 40.48 ▼1.59 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.12 ▲0.09 | 33.90 ▼0.12 | 34.32 ▼6.98 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.88 ▼0.28 | 675.01 ▲13.47 | 53.96 ▼3.56 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▲0.00 | 100.20 ▲4.56 | 43.61 ▼0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 18× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Skin_Base' not found in wp-content/plugins/sydney-toolbox/inc/elementor/skins/block-portfolio-overlap-skin.php:6
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Skin_Base' not found in wp-content/plugins/sydney-toolbox/inc/elementor/skins/block-testimonials-skin.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/sydney-toolbox/inc/metaboxes/projects-metabox.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/sydney-toolbox/inc/metaboxes/testimonials-metabox.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sydney-toolbox/inc/post-type-clients.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/sydney-toolbox/demo-content/setup.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/sydney-toolbox/inc/metaboxes/singles-metabox.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sydney-toolbox/inc/post-type-sydney-projects.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sydney-toolbox/inc/post-type-services.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sydney-toolbox/inc/post-type-testimonials.php:69
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== sydney-toolbox ===
)
sydney-toolbox/sydney-toolbox.php Passed 13 tests
The main PHP file in "Sydney Toolbox" ver. 1.25 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
Registers custom post types and custom fields for the Sydney theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin16,494 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 2 | 181 | 56 | 8,934 |
PHP | 31 | 873 | 997 | 5,222 |
CSS | 4 | 33 | 1 | 1,068 |
Sass | 2 | 134 | 0 | 1,010 |
JavaScript | 2 | 70 | 2 | 257 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 13.95 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 131 | |
▷ Static methods | 3 | 2.29% |
▷ Public methods | 99 | 75.57% |
▷ Protected methods | 32 | 24.43% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 20 | 80.00% |
▷ Anonymous functions | 5 | 20.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin