Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.19MB] [CPU: ▼13.53ms] Passed 4 tests
Server-side resources used by eewee sellsy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.76 ▼40.29 |
Dashboard /wp-admin | 3.55 ▲0.25 | 50.16 ▼0.92 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.92 ▼4.11 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 95.67 ▼8.80 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 42.98 ▲6.75 |
Contact /wp-admin/admin.php?page=idSousMenu2 | 3.45 | 45.16 |
Settings /wp-admin/admin.php?page=idSousMenu3 | 3.41 | 35.26 |
Ticket support /wp-admin/admin.php?page=idSousMenu1 | 3.43 | 35.52 |
Sellsy /wp-admin/admin.php?page=idEeweeSellsy | 3.44 | 35.11 |
Server storage [IO: ▲1.08MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 67 new files
Database: 7 new tables, 6 new options
New tables |
---|
wp_eewee_sellsy_ticket_form |
wp_eewee_sellsy_contact_form |
wp_eewee_sellsy_contact |
wp_eewee_sellsy_setting |
wp_eewee_sellsy_error |
wp_eewee_sellsy_ticket |
wp_eewee_sellsy_version |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
eewee sellsy: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲197 | 15.33 ▲0.95 | 7.62 ▲6.04 | 48.89 ▲12.22 |
Dashboard /wp-admin | 2,268 ▲61 | 5.89 ▼0.04 | 120.40 ▲9.39 | 74.23 ▲27.44 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.66 ▲0.65 | 44.66 ▲2.28 | 36.93 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,583 ▲57 | 24.07 ▲6.49 | 671.51 ▲71.25 | 36.90 ▼11.26 |
Media Library /wp-admin/upload.php | 1,444 ▲41 | 5.11 ▲0.90 | 105.88 ▲3.85 | 74.43 ▲30.23 |
Contact /wp-admin/admin.php?page=idSousMenu2 | 1,506 | 2.81 | 32.25 | 31.66 |
Settings /wp-admin/admin.php?page=idSousMenu3 | 1,005 | 2.71 | 31.31 | 33.55 |
Ticket support /wp-admin/admin.php?page=idSousMenu1 | 878 | 2.66 | 30.90 | 27.98 |
Sellsy /wp-admin/admin.php?page=idEeweeSellsy | 974 | 2.69 | 30.49 | 41.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/eewee-sellsy/view/manuel.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/eewee-sellsy/tests/SellsyCustomFieldsControllerTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/eewee-sellsy/tests/ToolsControllerTest.php:9
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add a description for screenshot #0 in eewee-sellsy/assets to your readme.txt
- Screenshots: Screenshot #8 (Back-office : reCaptcha) image required
eewee-sellsy/index.php 92% from 13 tests
The primary PHP file in "eewee sellsy" version 1.14 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eewee-sellsy.php" instead of "index.php")
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
There were no executable files found in this plugin4,315 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 673 | 787 | 3,945 |
PO File | 1 | 186 | 340 | 246 |
CSS | 1 | 5 | 5 | 29 |
JavaScript | 2 | 8 | 38 | 28 |
XML | 1 | 0 | 0 | 25 |
JSON | 1 | 0 | 0 | 21 |
SQL | 2 | 3 | 6 | 12 |
Markdown | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 15 | 13.16% |
▷ Public methods | 112 | 98.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.75% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icones/logo.png | 1.28KB | 0.52KB | ▼ 59.41% |
images/icones/logo-big.png | 37.50KB | 7.08KB | ▼ 81.11% |
images/icones/download.png | 0.70KB | 0.79KB | 0.00% |