Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/press-this-reloaded/press-this-reloaded.php+391
Non-static method Press_This_Reloaded::init() should not be called statically
Server metrics [RAM: ▼1.85MB] [CPU: ▼57.34ms] Passed 4 tests
Analyzing server-side resources used by Press This Reloaded
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 4.55 ▼42.74 |
Dashboard /wp-admin | 2.17 ▼1.17 | 6.36 ▼53.98 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 5.72 ▼41.00 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 5.60 ▼91.65 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 5.72 ▼28.70 |
Server storage [IO: ▲0.02MB] [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: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Press This Reloaded
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 13.92 ▼0.65 | 1.54 ▼0.44 | 38.35 ▼4.93 |
Dashboard /wp-admin | 2,192 ▲12 | 5.51 ▼0.17 | 82.26 ▼8.39 | 38.37 ▲0.76 |
Posts /wp-admin/edit.php | 2,079 ▼21 | 1.98 ▼0.05 | 35.44 ▼2.99 | 34.00 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.19 ▲0.19 | 621.48 ▲8.67 | 70.08 ▼5.56 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▼0.04 | 98.70 ▼4.93 | 40.04 ▼4.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/press-this-reloaded/press-this-reloaded.php+391
Non-static method Press_This_Reloaded::init() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/press-this-reloaded/press-this-reloaded.php:19
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: press-this, bookmarklet, pressthis
press-this-reloaded/press-this-reloaded.php Passed 13 tests
The main PHP file in "Press This Reloaded" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
49 characters long description:
Press This, using the regular Add New Post screen
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin199 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 29 | 8 | 100 |
PHP | 1 | 82 | 214 | 99 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
PNG images were not found in this plugin