Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.81ms] Passed 4 tests
An overview of server-side resources used by Silver Bullet
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.50 ▲0.31 |
Dashboard /wp-admin | 3.39 ▲0.09 | 52.10 ▼4.70 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 51.54 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.27 ▼5.04 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.02 ▲1.58 |
Speedup /wp-admin/admin.php?page=silver-bullet-speedup | 3.28 | 34.26 |
Silver Bullet /wp-admin/admin.php?page=silver-bullet | 3.28 | 34.55 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Silver Bullet
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲116 | 14.28 ▲0.07 | 2.02 ▲0.34 | 40.78 ▼3.70 |
Dashboard /wp-admin | 2,231 ▲54 | 5.63 ▲0.05 | 87.18 ▼5.65 | 41.87 ▼0.63 |
Posts /wp-admin/edit.php | 2,139 ▲36 | 1.99 ▲0.00 | 36.26 ▼5.42 | 36.46 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 23.17 ▲0.07 | 645.77 ▼39.79 | 50.33 ▼4.27 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.19 ▼0.09 | 96.89 ▼21.60 | 46.24 ▼4.08 |
Speedup /wp-admin/admin.php?page=silver-bullet-speedup | 892 | 2.00 | 24.16 | 27.85 |
Silver Bullet /wp-admin/admin.php?page=silver-bullet | 905 | 1.99 | 21.82 | 27.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/silver-bullet/inc/sbpro-settings-speedup.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: performance, query, speedup, sql, time...
silver-bullet/silver-bullet.php Passed 13 tests
The principal PHP file in "Silver Bullet" v. 1.0 is loaded by WordPress automatically on each request
41 characters long description:
Speedup WordPress website in a smart way.
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
Everything looks great! No dangerous files found in this plugin406 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 119 | 59 | 406 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 5 | 100.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin