Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.04ms] Passed 4 tests
This is a short check of server-side resources used by Cherry Picker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.56 ▼2.39 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.64 ▼1.48 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.68 ▲3.72 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.80 ▼4.65 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.13 ▲0.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Cherry Picker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.59 ▼1.00 | 4.51 ▲2.62 | 42.75 ▲2.01 |
Dashboard /wp-admin | 2,222 ▲34 | 4.85 ▲0.02 | 110.66 ▼2.91 | 42.73 ▼4.40 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.05 ▲0.02 | 40.50 ▲2.94 | 34.63 ▼3.97 |
Add New Post /wp-admin/post-new.php | 1,528 ▲9 | 23.06 ▼0.06 | 679.63 ▲2.86 | 51.70 ▼10.25 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.22 ▼0.01 | 95.83 ▼7.73 | 42.16 ▼4.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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 | 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cherry-picker/admin/partials/cherry-picker-admin-display.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: woocommerce, parser, scraper, woo, dropshipping
cherry-picker/cherry-picker.php 92% from 13 tests
The principal PHP file in "Cherry Picker" v. 1.2.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Git Repository: There should be no Git repositories present in your plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected2,003 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 72 | 232 | 1,291 |
PHP | 12 | 188 | 458 | 543 |
SVG | 2 | 0 | 2 | 83 |
CSS | 2 | 1 | 4 | 66 |
YAML | 1 | 2 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 5 | 11.36% |
▷ Public methods | 33 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 25.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin