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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.46ms] Passed 4 tests
An overview of server-side resources used by Store Manager Connector
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 35.96 ▲0.86 |
Dashboard /wp-admin | 3.34 ▼0.01 | 42.70 ▼15.81 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.38 ▲0.65 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.83 ▼4.99 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.14 ▼1.67 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Store Manager Connector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲36 | 14.69 ▲0.33 | 1.71 ▼0.01 | 37.93 ▼0.83 |
Dashboard /wp-admin | 2,203 ▲26 | 5.60 ▼0.07 | 91.34 ▲2.67 | 41.19 ▼1.13 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.97 ▼0.04 | 39.62 ▼5.37 | 41.11 ▲4.26 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 23.12 ▼0.55 | 681.53 ▲1.07 | 54.99 ▲6.13 |
Media Library /wp-admin/upload.php | 1,405 ▲11 | 4.28 ▲0.08 | 98.70 ▲0.90 | 42.24 ▼2.96 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
store-manager-connector/smconnector.php 92% from 13 tests
"Store Manager Connector" version 1.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("store-manager-connector.php" instead of "smconnector.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,728 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 710 | 284 | 3,533 |
CSS | 2 | 12 | 11 | 187 |
JavaScript | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 85.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 375.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 232 | |
▷ Static methods | 5 | 2.16% |
▷ Public methods | 157 | 67.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 75 | 32.33% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 93 | |
▷ Global constants | 18 | 19.35% |
▷ Class constants | 75 | 80.65% |
▷ Public constants | 75 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/emagicone.png | 0.67KB | 0.91KB | 0.00% |
images/woo.png | 0.84KB | 0.85KB | 0.00% |