Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.57ms] Passed 4 tests
Server-side resources used by Ultimate Post Review
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 40.16 ▲0.57 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.96 ▼3.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.68 ▲2.61 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.46 ▲0.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.27 ▼0.28 |
Ultimate Post Review /wp-admin/options-general.php?page=upr_settings | 3.19 | 34.17 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
upr_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Ultimate Post Review: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲166 | 13.63 ▼0.64 | 5.29 ▲3.31 | 41.14 ▼0.62 |
Dashboard /wp-admin | 2,221 ▲29 | 4.85 ▼0.07 | 107.09 ▼5.50 | 40.09 ▼4.69 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▲0.04 | 37.36 ▲0.59 | 35.96 ▲1.80 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.47 ▲5.87 | 657.84 ▼42.01 | 49.56 ▼11.52 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.28 ▲0.08 | 96.40 ▼1.07 | 42.77 ▼5.31 |
Ultimate Post Review /wp-admin/options-general.php?page=upr_settings | 967 | 2.17 | 26.25 | 27.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- upr_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 19 tag instead of maximum 10
ultimate-post-review/ultimate-post-review-light.php 92% from 13 tests
Analyzing the main PHP file in "Ultimate Post Review" version 1.0.0
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ultimate-post-review.php" instead of "ultimate-post-review-light.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected684 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 188 | 579 | 492 |
CSS | 2 | 3 | 8 | 187 |
JavaScript | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 2 | 6.45% |
▷ Public methods | 25 | 80.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 19.35% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin