Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/blog-watch/blog-watch.php+426
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.85MB] [CPU: ▼55.99ms] Passed 4 tests
A check of server-side resources used by Blog Watch
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.10 ▼32.05 |
Dashboard /wp-admin | 2.17 ▼1.18 | 5.25 ▼52.12 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.00 ▼42.10 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.21 ▼97.67 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 5.47 ▼30.13 |
Server storage [IO: ▲0.36MB] [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: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
cbw_plugin_settings |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blog Watch
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲151 | 14.09 ▼0.47 | 1.72 ▲0.20 | 43.49 ▲4.92 |
Dashboard /wp-admin | 2,288 ▲108 | 5.61 ▲0.02 | 96.45 ▲8.35 | 84.80 ▲41.63 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▲0.04 | 37.81 ▲2.79 | 33.63 ▼3.93 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.65 ▲0.63 | 667.83 ▼19.31 | 50.32 ▼0.64 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.18 ▼0.07 | 108.01 ▼3.35 | 44.79 ▼5.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/blog-watch/blog-watch.php+426
Array and string offset access syntax with curly braces is deprecated
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Almost there! Just 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/blog-watch/blog-watch.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (The latest posts from each site combined and in date order)
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
blog-watch/blog-watch.php Passed 13 tests
Analyzing the main PHP file in "Blog Watch" version 1.0.0
117 characters long description:
Keep an eye on what your competitors, similar sites and favourite blogs are writing about, right from your Dashboard.
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
Success! There were no dangerous files found in this plugin447 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 72 | 54 | 447 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin