Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.92ms] Passed 4 tests
Server-side resources used by ReviewsTap
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.68 ▼5.00 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.80 ▼14.20 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.08 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.54 ▼11.59 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.67 ▲2.32 |
Reviews Tap /wp-admin/options-general.php?page=reviewstap | 3.26 | 29.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_reviewstap_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ReviewsTap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.34 ▼1.35 | 1.80 ▼0.10 | 41.38 ▼4.12 |
Dashboard /wp-admin | 2,210 ▲19 | 5.82 ▲0.93 | 102.32 ▼5.32 | 40.60 ▼5.67 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.02 | 37.27 ▼0.83 | 34.23 ▼6.27 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 22.89 ▼0.47 | 630.06 ▼51.13 | 55.74 ▼10.54 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▲0.02 | 94.46 ▼5.44 | 41.43 ▼2.87 |
Reviews Tap /wp-admin/options-general.php?page=reviewstap | 832 | 2.01 | 30.43 | 26.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_reviewstap_widget
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/reviewstap/includes/class.reviewstap-general.php
- > /wp-content/plugins/reviewstap/includes/class.reviewstap-display.php
- > /wp-content/plugins/reviewstap/includes/class.reviewstap-setting.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: feedback, reputation, google local, reviews, facebook ratings...
reviewstap/reviewstap.php Passed 13 tests
"ReviewsTap" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
105 characters long description:
ReviewsTap helps small businesses collect, monitor and manage reviews across a range of online platforms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected249 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 72 | 32 | 249 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 2 | 13.33% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin