Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▼8.32ms] Passed 4 tests
This is a short check of server-side resources used by Absolute Reviews
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 46.38 ▲3.71 |
Dashboard /wp-admin | 3.86 ▲0.52 | 54.77 ▼16.18 |
Posts /wp-admin/edit.php | 3.92 ▲0.55 | 53.81 ▲0.88 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.51 | 92.36 ▼16.87 |
Media Library /wp-admin/upload.php | 3.73 ▲0.49 | 37.85 ▼1.09 |
Reviews /wp-admin/options-general.php?page=absolute-reviews | 3.69 | 37.69 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_abr_reviews_posts_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Absolute Reviews
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.38 ▼0.00 | 2.24 ▲0.02 | 43.01 ▲1.82 |
Dashboard /wp-admin | 2,198 ▲18 | 5.58 ▼0.08 | 85.66 ▼14.83 | 37.19 ▼4.66 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▼0.03 | 33.70 ▼3.10 | 33.40 ▼1.46 |
Add New Post /wp-admin/post-new.php | 6,745 ▲5,195 | 26.30 ▲3.28 | 888.40 ▲200.24 | 35.44 ▼22.44 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▼0.12 | 99.17 ▼0.25 | 45.24 ▲0.00 |
Reviews /wp-admin/options-general.php?page=absolute-reviews | 1,087 | 2.05 | 25.13 | 37.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_abr_reviews_posts_widget
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% 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 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
Please fix the following
- 16× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/absolute-reviews/public/block/render.php on line 38
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/absolute-reviews/public/block/render.php on line 39
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/absolute-reviews/public/block/render.php on line 39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/absolute-reviews/public/class-absolute-reviews-posts-block.php:21
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/absolute-reviews/public/block/render.php on line 37
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/absolute-reviews/public/block/render.php on line 38
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/absolute-reviews/public/block/render.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/absolute-reviews/public/class-absolute-reviews-block.php:21
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/absolute-reviews/public/block/render.php on line 35
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/absolute-reviews/public/class-absolute-reviews-posts-widget.php:15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: reviews, rating, schemaorg, review
absolute-reviews/absolute-reviews.php Passed 13 tests
Analyzing the main PHP file in "Absolute Reviews" version 1.1.2
124 characters long description:
Add beautiful responsive and modern review boxes with valid JSON-LD schema to your posts with the "Advanced Reviews" plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected6,112 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 564 | 871 | 3,033 |
CSS | 4 | 564 | 34 | 2,950 |
JavaScript | 1 | 46 | 56 | 109 |
SVG | 1 | 0 | 0 | 19 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 18.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 86.36% |
▷ Protected methods | 1 | 2.27% |
▷ Private methods | 5 | 11.36% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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