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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼6.12ms] Passed 4 tests
A check of server-side resources used by Spacious Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 45.61 ▲4.07 |
Dashboard /wp-admin | 3.58 ▲0.24 | 54.92 ▼10.93 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 49.76 ▲2.31 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 97.38 ▼16.11 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.17 ▲0.27 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 62 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
spacious_toolkit_admin_notices |
widget_theysaidso_widget |
spacious_toolkit_version |
spacious_toolkit_db_version |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Spacious Toolkit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲45 | 13.63 ▼0.37 | 2.22 ▲0.20 | 43.35 ▲1.70 |
Dashboard /wp-admin | 2,237 ▲34 | 5.79 ▼0.09 | 102.64 ▲2.25 | 36.36 ▼2.49 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.02 ▼0.04 | 40.47 ▲0.32 | 39.26 ▲4.72 |
Add New Post /wp-admin/post-new.php | 1,561 ▲16 | 23.01 ▼0.12 | 639.30 ▼46.62 | 57.28 ▼9.70 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.25 ▼0.02 | 106.63 ▼3.09 | 46.33 ▼3.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-comments
- spacious_toolkit_db_version
- can_compress_scripts
- db_upgraded
- spacious_toolkit_version
- widget_recent-posts
- spacious_toolkit_admin_notices
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/spacious-toolkit/includes/libraries/wp-background-process.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: spacious, theme, themegrill, toolkit
spacious-toolkit/spacious-toolkit.php Passed 13 tests
The main PHP script in "Spacious Toolkit" version 1.0.5 is automatically included on every request by WordPress
74 characters long description:
Spacious Toolkit is a companion for Spacious WordPress theme by ThemeGrill
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected6,098 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 3,524 |
PHP | 47 | 640 | 1,921 | 2,295 |
XML | 1 | 2 | 55 | 136 |
JavaScript | 1 | 16 | 81 | 109 |
SVG | 1 | 0 | 0 | 32 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 2 | 11.76% |
▷ Concrete classes | 15 | 88.24% |
▷ Final classes | 1 | 6.67% |
Methods | 144 | |
▷ Static methods | 26 | 18.06% |
▷ Public methods | 94 | 65.28% |
▷ Protected methods | 40 | 27.78% |
▷ Private methods | 10 | 6.94% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin