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.01MB] [CPU: ▼6.42ms] Passed 4 tests
Server-side resources used by Convead
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.96 ▼5.00 |
Dashboard /wp-admin | 3.32 ▲0.01 | 42.46 ▼8.39 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.48 ▼1.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.63 ▼11.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.70 ▲2.52 |
Convead /wp-admin/plugins.php?page=convead | 3.27 | 30.24 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
convead_plgn_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Convead: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.30 ▼1.06 | 4.31 ▲2.37 | 37.70 ▼4.87 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▲0.92 | 116.26 ▲6.86 | 42.85 ▼3.42 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▼0.00 | 41.25 ▲6.92 | 36.15 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 18.47 ▲0.15 | 607.61 ▼39.98 | 72.07 ▲17.66 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▼0.01 | 99.22 ▼2.65 | 42.07 ▼1.16 |
Convead /wp-admin/plugins.php?page=convead | 841 | 1.68 | 29.01 | 31.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- convead_plgn_options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/convead-for-woocommerce/convead.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/convead-for-woocommerce/tmpl/adminform.php:14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/convead-for-woocommerce/tmpl/adminform.php on line 10
- > PHP Notice
Undefined variable: convead_plgn_options in wp-content/plugins/convead-for-woocommerce/tmpl/adminform.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/convead-for-woocommerce/tmpl/adminform.php on line 9
- > PHP Notice
Undefined variable: convead_plgn_options in wp-content/plugins/convead-for-woocommerce/tmpl/adminform.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: woocommerce, e-commerce, analytics, convead, email campaigns...
convead-for-woocommerce/convead.php 85% from 13 tests
The main PHP file in "Convead" ver. 1.1.7 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("convead-for-woocommerce.php" instead of "convead.php")
- Description: Please use more than 10 characters for the plugin description (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin836 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 171 | 170 | 760 |
PO File | 1 | 15 | 16 | 49 |
Markdown | 1 | 9 | 0 | 26 |
HTML | 1 | 0 | 0 | 1 |
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.34 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 23 | 51.11% |
▷ Public methods | 23 | 51.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 48.89% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin