Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.64ms] Passed 4 tests
Server-side resources used by Shutter Reloaded Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 42.22 ▼0.74 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.85 ▼0.30 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.60 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.66 ▼15.90 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.32 ▼1.60 |
Shutter Reloaded Plus /wp-admin/themes.php?page=shutter-reloaded | 3.46 | 32.84 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
srel_excluded |
srel_options |
srel_included |
widget_recent-posts |
srel_main |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Shutter Reloaded Plus
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.16 ▼0.19 | 47.81 ▲46.09 | 48.57 ▲10.57 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▲0.03 | 86.38 ▼6.14 | 41.14 ▼1.59 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.98 ▼0.03 | 39.21 ▼3.26 | 36.87 ▼7.16 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.96 ▼0.88 | 644.01 ▲4.02 | 52.89 ▼5.97 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.25 ▲0.10 | 98.40 ▼8.82 | 48.36 ▲1.34 |
Shutter Reloaded Plus /wp-admin/themes.php?page=shutter-reloaded | 1,785 | 2.81 | 60.27 | 33.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 10 options in the database
- theysaidso_admin_options
- db_upgraded
- srel_options
- srel_main
- widget_recent-comments
- can_compress_scripts
- srel_excluded
- widget_recent-posts
- srel_included
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=shutter-reloaded
- > User deprecated in wp-includes/functions.php+5453
Function js_escape is deprecated since version 2.8.0! Use esc_js() instead.
- > GET request to /wp-admin/themes.php?page=shutter-reloaded
- > Notice in wp-content/plugins/shutter-reloaded-plus/admin-page.php+367
Undefined index: startFull
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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shutter-reloaded-plus/shutter-reloaded.php:96
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: responsive, arrow keys, slideshow, lightbox, gallery...
shutter-reloaded-plus/shutter-reloaded.php 85% from 13 tests
The main PHP script in "Shutter Reloaded Plus" version 0.6 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("shutter-reloaded-plus.php" instead of "shutter-reloaded.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 288 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,725 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 504 | 589 | 1,104 |
PHP | 2 | 49 | 15 | 588 |
CSS | 1 | 0 | 1 | 32 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
menu/icons.png | 12.49KB | 3.73KB | ▼ 70.18% |