Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼139.43ms] Passed 4 tests
A check of server-side resources used by Skeps Reviews Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.23 | 42.11 ▲15.23 |
Dashboard /wp-admin | 3.24 ▲0.18 | 53.69 ▼1.62 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 53.82 ▲0.78 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.10 | 103.69 ▼569.71 |
Media Library /wp-admin/upload.php | 3.12 ▲0.12 | 48.59 ▲12.82 |
Skeps Review Widget /wp-admin/options-general.php?page=skeps-googlereviews | 3.08 | 32.59 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Skeps Reviews Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲112 | 16.02 ▲0.69 | 14.14 ▲2.64 | 50.82 ▼1.71 |
Dashboard /wp-admin | 2,978 ▲47 | 5.83 ▼0.16 | 158.89 ▼15.93 | 117.77 ▼17.66 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 69.73 ▼1.76 | 94.13 ▲6.60 |
Add New Post /wp-admin/post-new.php | 1,584 ▼99 | 17.24 ▼1.46 | 445.44 ▼7.31 | 148.44 ▲32.37 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.09 ▲0.06 | 185.30 ▼10.29 | 121.08 ▼6.52 |
Skeps Review Widget /wp-admin/options-general.php?page=skeps-googlereviews | 1,115 | 2.85 | 70.15 | 93.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=skeps-googlereviews
- > Warning in wp-content/plugins/skeps-review-widget/admin/class-skeps-googlereviews-admin.php+125
include_once(wp-content/plugins/skeps-googlereviews/public/shared/skeps-googlereviews-stars.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=skeps-googlereviews
- > Warning in wp-content/plugins/skeps-review-widget/admin/class-skeps-googlereviews-admin.php+125
include_once(): Failed opening 'wp-content/plugins/skeps-googlereviews/public/shared/skeps-googlereviews-stars.php' for inclusion (include_path='.:/usr/share/php')
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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-carousel.php
- > /wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-summary.php
- > /wp-content/plugins/skeps-review-widget/admin/partials/skeps-googlereviews-admin-display.php
- > /wp-content/plugins/skeps-review-widget/public/shared/skeps-googlereviews-stars.php
- 23× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: sgr in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-summary.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-summary.php on line 18
- > PHP Notice
Undefined variable: theme in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-widget-basic.php on line 22
- > PHP Notice
Undefined variable: score_formatted in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-summary.php on line 21
- > PHP Notice
Undefined variable: atts in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-carousel.php on line 18
- > PHP Notice
Undefined variable: sgr in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-summary.php on line 18
- > PHP Notice
Undefined variable: reviews in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-carousel.php on line 27
- > PHP Notice
Undefined variable: atts in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-carousel.php on line 19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-carousel.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/skeps-review-widget/public/partials/skeps-googlereviews-carousel.php on line 19
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Screenshot #1 (assets/screenshot-1.jpg) image required
skeps-review-widget/skeps-review-widget.php 92% from 13 tests
Analyzing the main PHP file in "Skeps Reviews Widget" version 1.0.0
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin698 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 404 | 589 | 627 |
PO File | 2 | 16 | 22 | 66 |
JavaScript | 2 | 0 | 5 | 3 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 36 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 18.18% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 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
No PNG files were detected