Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.91ms] Passed 4 tests
Analyzing server-side resources used by Super Blog Pack: Like, Share, Review, Ratings all in one
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 23.83 ▼13.67 |
Dashboard /wp-admin | 3.36 ▲0.02 | 45.19 ▼12.37 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.10 ▼3.48 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 88.67 ▼6.10 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 35.40 ▼0.05 |
Post meta /wp-admin/admin.php?page=sbp-post-meta | 3.28 | 34.73 |
Post share /wp-admin/admin.php?page=sbp-post-share | 3.28 | 39.05 |
Post reviews /wp-admin/admin.php?page=sbp-post-reviews | 3.28 | 36.33 |
Related Posts /wp-admin/admin.php?page=sbp-related-post | 3.28 | 33.64 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
_ts_sbp_options |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Super Blog Pack: Like, Share, Review, Ratings all in one
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲204 | 13.59 ▼0.84 | 5.18 ▲3.56 | 36.34 ▼5.07 |
Dashboard /wp-admin | 2,237 ▲85 | 4.86 ▼0.83 | 106.54 ▲12.20 | 38.87 ▼1.13 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.01 ▼0.13 | 39.38 ▼1.58 | 35.21 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,568 ▲40 | 17.98 ▼0.11 | 582.23 ▼10.01 | 44.93 ▼6.15 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.16 ▼0.04 | 100.43 ▲5.10 | 40.91 ▼3.05 |
Post meta /wp-admin/admin.php?page=sbp-post-meta | 1,176 | 3.29 | 39.82 | 28.01 |
Post share /wp-admin/admin.php?page=sbp-post-share | 1,172 | 3.30 | 41.05 | 26.43 |
Post reviews /wp-admin/admin.php?page=sbp-post-reviews | 1,164 | 3.18 | 40.03 | 23.45 |
Related Posts /wp-admin/admin.php?page=sbp-related-post | 1,161 | 3.23 | 38.37 | 22.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- _ts_sbp_options
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/super-blog-pack/templates/review/user-reviews/reviews-after.php
- > /wp-content/plugins/super-blog-pack/templates/related/related-after.php
- > /wp-content/plugins/super-blog-pack/templates/review/user-reviews/reviews-before.php
- 19× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function ts_sbp_has_liked_post() in wp-content/plugins/super-blog-pack/templates/meta/meta-likes.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function ts_sbp_review_nav() in wp-content/plugins/super-blog-pack/templates/review/user-reviews/nav.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/super-blog-pack/templates/related/related-before.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/super-blog-pack/templates/review/user-reviews/single-review.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/super-blog-pack/super-blog-pack.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/super-blog-pack/templates/review/user-reviews/star-rating.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/super-blog-pack/templates/meta/meta-views.php:10
- > PHP Notice
Trying to get property 'post_count' of non-object in wp-content/plugins/super-blog-pack/templates/related/related-before.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function ts_sbp_get_rating_count() in wp-content/plugins/super-blog-pack/templates/meta/meta-rating.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/super-blog-pack/templates/review/form/star-rating.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% 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
7 plugin tags: related, like, share counter, share, reviews...
super-blog-pack/super-blog-pack.php 92% from 13 tests
Analyzing the main PHP file in "Super Blog Pack: Like, Share, Review, Ratings all in one" version 1.0
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin2,454 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 514 | 693 | 1,669 |
CSS | 4 | 93 | 50 | 571 |
JavaScript | 2 | 37 | 7 | 155 |
SVG | 1 | 0 | 0 | 59 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 4.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/thumb.png | 7.76KB | 2.94KB | ▼ 62.14% |