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.29MB] [CPU: ▲4.62ms] Passed 4 tests
Server-side resources used by Stan Easy Connect
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.31 | 50.93 ▲5.83 |
Dashboard /wp-admin | 3.64 ▲0.33 | 55.45 ▲7.16 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 58.36 ▲10.00 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 95.88 ▼3.40 |
Media Library /wp-admin/upload.php | 3.50 ▲0.26 | 43.28 ▲8.88 |
Stan Easy Connect /wp-admin/options-general.php?page=stan-easy-connect | 3.47 | 37.37 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
stan_easy_connect_settings |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Stan Easy Connect
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲134 | 13.46 ▼0.89 | 8.61 ▲6.68 | 43.06 ▼0.80 |
Dashboard /wp-admin | 2,206 ▲28 | 5.60 ▼0.11 | 98.94 ▼11.12 | 39.16 ▼4.62 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.00 ▲0.06 | 41.32 ▲7.75 | 36.81 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,533 ▲2 | 23.13 ▼0.20 | 645.12 ▲53.84 | 79.56 ▲22.98 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.26 ▲0.10 | 104.56 ▲7.10 | 49.33 ▲9.15 |
Stan Easy Connect /wp-admin/options-general.php?page=stan-easy-connect | 922 | 1.71 | 26.42 | 27.95 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- stan_easy_connect_settings
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/stan-easy-connect/public/partials/stan-easy-connect-public-display.php
- > /wp-content/plugins/stan-easy-connect/admin/partials/stan-easy-connect-admin-display.php
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in stan-easy-connect/assets to your readme.txt
stan-easy-connect/stan-easy-connect.php 92% from 13 tests
"Stan Easy Connect" version 1.4.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 242 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,360 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 358 | 1,012 | 1,180 |
CSS | 2 | 15 | 8 | 114 |
JavaScript | 2 | 15 | 27 | 66 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 4 | 5.06% |
▷ Public methods | 68 | 86.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 13.92% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/logo-stan.png | 27.01KB | 9.85KB | ▼ 63.54% |