Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.90ms] Passed 4 tests
An overview of server-side resources used by VKShop for Easy Digital Downloads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.15 ▲1.73 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.59 ▼0.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.77 ▼4.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.85 ▼20.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.26 ▲4.33 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
VKShop for Easy Digital Downloads: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.80 ▲0.40 | 1.84 ▲0.11 | 44.38 ▼3.36 |
Dashboard /wp-admin | 2,206 ▲15 | 5.87 ▲0.99 | 99.97 ▲1.15 | 37.89 ▼7.44 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.04 | 34.97 ▼6.85 | 30.22 ▼5.83 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.40 ▲5.79 | 631.52 ▲28.31 | 45.47 ▼8.02 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.18 ▼0.04 | 103.99 ▲5.29 | 40.21 ▼6.17 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/vkshop-for-edd/inc/wp-settings-api-class-edd.php:766
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vkshop-for-edd/vks-functions.php:148
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vkshop-for-edd/inc/vkwp-api-edd.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vkshop-for-edd/vks-export.php:485
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vkshop-for-edd/vks-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vkshop-for-edd/vkshop-for-edd.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: vk, edd, easy digital downloads, shop, vkmarket...
vkshop-for-edd/vkshop-for-edd.php 85% from 13 tests
The primary PHP file in "VKShop for Easy Digital Downloads" version 0.9 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 152 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 | 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 plugin2,891 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 783 | 426 | 2,644 |
JavaScript | 2 | 6 | 7 | 247 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 33.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 84 | |
▷ Named functions | 83 | 98.81% |
▷ Anonymous functions | 1 | 1.19% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG images were found in this plugin