Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/cev-addons-for-woocommerce/cev-addons-wc.php+23
Constant CEVAW_PLUGIN_DOCUMENTATION_URL already defined
Server metrics [RAM: ▼1.95MB] [CPU: ▼56.16ms] Passed 4 tests
Analyzing server-side resources used by CEV Addons for Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 3.99 ▼30.57 |
Dashboard /wp-admin | 2.06 ▼1.28 | 5.33 ▼51.64 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 5.57 ▼40.27 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 6.66 ▼102.16 |
Media Library /wp-admin/upload.php | 2.06 ▼1.17 | 5.47 ▼26.42 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CEV Addons for Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.28 ▼0.08 | 1.65 ▼0.27 | 44.26 ▲1.86 |
Dashboard /wp-admin | 2,221 ▲40 | 5.63 ▼0.08 | 92.00 ▼11.51 | 46.38 ▲4.69 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.02 ▲0.02 | 39.54 ▲3.48 | 37.68 ▲4.65 |
Add New Post /wp-admin/post-new.php | 1,550 ▲15 | 23.14 ▲5.11 | 616.52 ▲17.71 | 54.08 ▼12.83 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.22 ▼0.01 | 96.43 ▼0.44 | 44.88 ▲2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/cev-addons-for-woocommerce/cev-addons-wc.php+23
Constant CEVAW_PLUGIN_DOCUMENTATION_URL already defined
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/cev-addons-for-woocommerce/templates/admin/settings-top-banner.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cev-addons-for-woocommerce/includes/class-cevaw-load.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: addons, tools, woocommerce, coupon
cev-addons-for-woocommerce/cev-addons-wc.php 77% from 13 tests
The main file in "CEV Addons for Woocommerce" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("cev-addons-for-woocommerce.php" instead of "cev-addons-wc.php")
- Requires PHP: Required version must match the one declared in readme.txt ("5.6" instead of "7.0")
- Requires at least: Required version must match the one declared in readme.txt ("4.0" instead of "5.5")
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
Everything looks great! No dangerous files found in this plugin2,204 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 342 | 226 | 2,189 |
CSS | 1 | 1 | 0 | 9 |
JavaScript | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 83 | 94.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.68% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin