Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.46ms] Passed 4 tests
An overview of server-side resources used by Easy to Manage Vendor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 45.50 ▲9.64 |
Dashboard /wp-admin | 3.38 ▲0.07 | 48.00 ▲0.14 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.49 ▲4.23 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.92 ▼20.63 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.30 ▼1.59 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 13 new options
New WordPress options |
---|
EMV_version |
emv_message_subject |
emv_message_desc |
emv_enable_api_edit_mode |
widget_theysaidso_widget |
emv_enable_edit_mode |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
... |
Browser metrics Passed 4 tests
Easy to Manage Vendor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲52 | 14.36 ▼0.19 | 1.75 ▼0.03 | 44.22 ▼0.11 |
Dashboard /wp-admin | 2,216 ▲39 | 5.52 ▼0.14 | 83.57 ▼3.41 | 41.32 ▼1.18 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 1.99 ▲0.01 | 43.79 ▲9.47 | 37.43 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 23.27 ▲0.23 | 619.76 ▼71.72 | 57.94 ▲1.41 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.22 ▲0.02 | 95.61 ▼4.65 | 42.61 ▼2.70 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 13 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- EMV_version
- emv_enable_edit_mode
- emv_message_subject
- emv_run_first_time
- theysaidso_admin_options
- emv_message_desc
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-to-manage-vendor/includes/admin/class-numbers-list.php
- > /wp-content/plugins/easy-to-manage-vendor/includes/frontend/WCFM/wcfm-menu.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-to-manage-vendor/includes/frontend/WCFM/views/emv-page.php:7
- > PHP Fatal error
Uncaught Error: Class 'EMV_helper' not found in wp-content/plugins/easy-to-manage-vendor/includes/class-register-rest.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/easy-to-manage-vendor/easy-to-manage-vendor.php:17
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Chatting from admin site & Vendor list), #2 (SMS Gateway configuration), #4 (Configuration setting), #5 (Message setting), #6 (Custom CSS), #7 (Chatting from Vendor site), #8 (Register input), #9 (Forcibly input)
easy-to-manage-vendor/easy-to-manage-vendor.php 77% from 13 tests
The main file in "Easy to Manage Vendor" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: Please don't use more than 140 characters for the plugin description (currently 187 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin4,514 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 122 | 405 | 2,865 |
PHP | 15 | 173 | 590 | 1,628 |
SVG | 3 | 0 | 0 | 18 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 98 | |
▷ Static methods | 8 | 8.16% |
▷ Public methods | 91 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 7.14% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.26MB with 0.15MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/register/9d5328fb490cddd43f66.png | 170.28KB | 68.04KB | ▼ 60.04% |
assets/setting/856dec1cc99d08823903fadfaf3c295d.png | 28.43KB | 14.51KB | ▼ 48.97% |
assets/register/007b2705c0a8f69dfdf6.png | 69.20KB | 23.42KB | ▼ 66.16% |