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.21MB] [CPU: ▼8.27ms] Passed 4 tests
This is a short check of server-side resources used by SpinupWP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 43.48 ▲1.54 |
Dashboard /wp-admin | 3.55 ▲0.21 | 50.98 ▼20.46 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 53.64 ▲1.09 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 87.62 ▼15.25 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.41 ▲2.08 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SpinupWP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲22 | 14.29 ▼0.32 | 1.82 ▼0.14 | 43.05 ▼0.62 |
Dashboard /wp-admin | 2,217 ▲43 | 5.65 ▲0.05 | 96.49 ▼7.01 | 43.61 ▲0.27 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▲0.03 | 37.22 ▼2.58 | 36.21 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.08 ▼0.13 | 642.69 ▼37.50 | 65.02 ▼7.42 |
Media Library /wp-admin/upload.php | 1,422 ▲19 | 4.23 ▲0.03 | 104.14 ▼13.76 | 47.15 ▼1.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
3 plugin tags: caching, cache, performance
spinupwp/spinupwp.php Passed 13 tests
The main PHP file in "SpinupWP" ver. 1.5.1 adds more information about the plugin and also serves as the entry point for this plugin
23 characters long description:
SpinupWP helper plugin.
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
Success! There were no dangerous files found in this plugin2,788 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 792 | 1,557 | 2,722 |
CSS | 1 | 3 | 0 | 30 |
JSON | 2 | 0 | 0 | 26 |
JavaScript | 1 | 1 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 33.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 303.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 21 | 13.38% |
▷ Public methods | 118 | 75.16% |
▷ Protected methods | 28 | 17.83% |
▷ Private methods | 11 | 7.01% |
Functions | 37 | |
▷ Named functions | 25 | 67.57% |
▷ Anonymous functions | 12 | 32.43% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin