Benchmarks
Plugin footprint 83% from 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.02MB] [CPU: ▼3.74ms] Passed 4 tests
An overview of server-side resources used by Opinion System note & avis Demo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 40.02 ▼0.76 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.72 ▼4.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.66 ▲3.40 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.09 ▼12.67 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.93 ▲6.78 |
Opinion System note avis Demo /wp-admin/options-general.php?page=opinion_system_menu | 3.21 | 33.60 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_opinion_system_note_avis_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Opinion System note & avis Demo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.31 ▼1.04 | 2.15 ▲0.37 | 39.78 ▼6.87 |
Dashboard /wp-admin | 2,212 ▲27 | 5.85 ▼0.15 | 102.95 ▲2.71 | 48.96 ▲3.35 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▲0.00 | 40.15 ▼0.93 | 46.96 ▲10.77 |
Add New Post /wp-admin/post-new.php | 1,519 ▼10 | 23.17 ▲4.85 | 599.23 ▼46.25 | 65.71 ▲9.19 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.30 ▲0.08 | 99.76 ▼4.78 | 50.58 ▲8.13 |
Opinion System note avis Demo /wp-admin/options-general.php?page=opinion_system_menu | 856 | 2.04 | 25.83 | 71.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- widget_opinion_system_note_avis_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/opinion-system-note-avis-demo/opinion_system_note_avis_plugin_demo.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in opinion-system-note-avis-demo/assets to your readme.txt
opinion-system-note-avis-demo/opinion_system_note_avis_plugin_demo.php 92% from 13 tests
The main PHP script in "Opinion System note & avis Demo" version 1.2 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("opinion-system-note-avis-demo.php" instead of "opinion_system_note_avis_plugin_demo.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
There were no executable files found in this plugin221 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1 | 0 | 114 |
PHP | 1 | 19 | 26 | 107 |
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.13 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
smiley_bad.png | 5.96KB | 1.48KB | ▼ 75.13% |
smiley_good.png | 6.04KB | 1.36KB | ▼ 77.44% |
check.png | 5.73KB | 1.37KB | ▼ 76.05% |
icon_com.png | 6.00KB | 1.46KB | ▼ 75.66% |
check_black.png | 6.00KB | 1.41KB | ▼ 76.44% |