Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.66MB] [CPU: ▼18.84ms] Passed 4 tests
Analyzing server-side resources used by Revyooz
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.33 ▼0.73 |
Dashboard /wp-admin | 3.37 ▲0.02 | 47.20 ▼9.99 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.77 ▲0.87 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.73 | 35.59 ▼65.52 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.57 ▲4.15 |
Revyooz /wp-admin/options-general.php?page=revyooz-options | 3.23 | 31.32 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 14 new options
New WordPress options |
---|
revyooz_stars_cat5_name |
widget_recent-posts |
revyooz_currency_symbol |
revyooz_stars_cat4_name |
revyooz_stars_cat3_name |
revyooz_display_side |
widget_recent-comments |
db_upgraded |
revyooz_stars_overall_name |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Revyooz
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.74 ▲0.13 | 1.76 ▼0.19 | 43.92 ▲4.04 |
Dashboard /wp-admin | 2,210 ▲19 | 5.91 ▲0.01 | 112.59 ▲10.00 | 42.94 ▲6.08 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.02 | 33.43 ▼3.57 | 34.77 ▼1.88 |
Add New Post /wp-admin/post-new.php | 6,571 ▲5,033 | 26.00 ▲2.56 | 922.92 ▲236.86 | 63.43 ▲6.80 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.22 ▲0.05 | 101.37 ▼1.54 | 44.34 ▲3.23 |
Revyooz /wp-admin/options-general.php?page=revyooz-options | 933 | 2.17 | 26.28 | 31.12 |
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: 14 options
- revyooz_stars_overall_name
- revyooz_stars_cat5_name
- revyooz_stars_cat3_name
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- revyooz_display_side
- widget_recent-comments
- revyooz_currency_symbol
- revyooz_stars_cat1_name
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=revyooz-options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=revyooz-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revyooz-review-and-rating-plugin/rvz_admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/revyooz-review-and-rating-plugin/rvz_add_to_post.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/revyooz-review-and-rating-plugin/revyooz.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revyooz-review-and-rating-plugin/rvz_options.php:26
- > PHP Fatal error
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)
No browser issues were 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:
- Plugin Name: Please specify the plugin name on the first line (
=== revyooz-review-and-rating-plugin ===
)
revyooz-review-and-rating-plugin/revyooz.php 92% from 13 tests
"Revyooz" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("revyooz-review-and-rating-plugin.php" instead of "revyooz.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected410 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 125 | 47 | 358 |
CSS | 1 | 15 | 4 | 52 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/bluestar.png | 0.54KB | 0.42KB | ▼ 22.62% |