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.02MB] [CPU: ▼11.23ms] Passed 4 tests
Analyzing server-side resources used by Destiny Reviews
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.33 ▼9.85 |
Dashboard /wp-admin | 3.34 ▼0.01 | 48.88 ▼11.82 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.38 ▼0.72 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 86.53 ▼22.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.97 ▲0.73 |
All Reviews /wp-admin/edit.php?post_type=destiny_reviews | 3.30 | 38.39 |
Custom Style /wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style | 3.23 | 35.99 |
Add New Review /wp-admin/post-new.php?post_type=destiny_reviews | 3.40 | 47.47 |
Form Settings /wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_form | 3.23 | 35.70 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Destiny Reviews
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.20 ▼0.95 | 1.56 ▼0.48 | 42.00 ▼2.33 |
Dashboard /wp-admin | 2,243 ▲58 | 4.89 ▼0.95 | 113.05 ▲4.33 | 41.15 ▼6.69 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.05 ▲0.03 | 39.13 ▼0.90 | 36.17 ▲1.77 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 17.53 ▼5.79 | 685.69 ▲90.98 | 54.93 ▲7.66 |
Media Library /wp-admin/upload.php | 1,425 ▲43 | 4.30 ▲0.13 | 109.38 ▲9.97 | 44.90 ▼0.36 |
All Reviews /wp-admin/edit.php?post_type=destiny_reviews | 1,090 | 1.95 | 30.45 | 29.44 |
Custom Style /wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style | 928 | 2.09 | 26.47 | 27.44 |
Add New Review /wp-admin/post-new.php?post_type=destiny_reviews | 1,719 | 3.52 | 67.43 | 33.73 |
Form Settings /wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_form | 949 | 2.08 | 24.40 | 28.31 |
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 detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style 159 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style 166 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=destiny_reviews&page=destiny_review_style 173 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Requires php: Invalid version format
- Screenshots: These screenshots require images: #6 (User form to submit reviews), #7 (User form settings)
destiny-reviews/destiny-reviews.php 85% from 13 tests
The main PHP file in "Destiny Reviews" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "7.3+")
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 detected798 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 84 | 56 | 729 |
CSS | 2 | 11 | 0 | 68 |
JavaScript | 2 | 0 | 1 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 3 | 75.00% |
▷ Public methods | 4 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/empty-star.png | 1.59KB | 1.57KB | ▼ 1.35% |
images/star.png | 1.72KB | 1.22KB | ▼ 28.98% |