Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼0.63ms] Passed 4 tests
Analyzing server-side resources used by PerfectWP - WC Omnibus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 42.63 ▼1.64 |
Dashboard /wp-admin | 3.67 ▲0.36 | 54.76 ▲1.83 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 54.14 ▼4.69 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 99.62 ▲9.37 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 41.70 ▲1.99 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/perfectwp-wc-omnibus/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 53 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pwp_wco_history_prices |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
pwp_wco_db_version |
widget_recent-comments |
Browser metrics Passed 4 tests
PerfectWP - WC Omnibus: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.56 ▲0.16 | 1.96 ▼0.20 | 40.14 ▼5.37 |
Dashboard /wp-admin | 2,232 ▲32 | 6.44 ▲0.54 | 164.59 ▲48.81 | 40.30 ▼2.98 |
Posts /wp-admin/edit.php | 2,112 ▲15 | 3.12 ▲1.13 | 58.68 ▲18.91 | 34.61 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,534 ▼11 | 18.76 ▼4.53 | 704.48 ▲15.85 | 38.94 ▼15.12 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 5.63 ▲1.48 | 119.30 ▲11.51 | 44.78 ▲0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PerfectWPWCO\\Assets\\Style' not found in wp-content/plugins/perfectwp-wc-omnibus/public/plugin-assets.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
perfectwp-wc-omnibus/perfectwp-wc-omnibus.php Passed 13 tests
"PerfectWP - WC Omnibus" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
39 characters long description:
Compatibility with EU Omnibus Directive
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,318 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 627 | 941 | 2,274 |
PO File | 1 | 10 | 13 | 37 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 3 | 8.82% |
▷ Concrete classes | 31 | 91.18% |
▷ Final classes | 1 | 3.23% |
Methods | 222 | |
▷ Static methods | 62 | 27.93% |
▷ Public methods | 209 | 94.14% |
▷ Protected methods | 3 | 1.35% |
▷ Private methods | 10 | 4.50% |
Functions | 12 | |
▷ Named functions | 2 | 16.67% |
▷ Anonymous functions | 10 | 83.33% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin