Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.12ms] Passed 4 tests
A check of server-side resources used by ARKCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.90 ▼0.81 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.37 ▼14.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.03 ▲2.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.45 ▼2.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.82 ▼3.32 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
ARKCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.55 ▲0.33 | 1.84 ▼0.78 | 44.27 ▼5.18 |
Dashboard /wp-admin | 2,195 ▲15 | 5.68 ▲0.05 | 92.48 ▲3.60 | 39.81 ▼1.53 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▼0.03 | 40.76 ▲3.47 | 36.52 ▼4.67 |
Add New Post /wp-admin/post-new.php | 1,547 ▲2 | 23.00 ▼0.19 | 675.91 ▼6.16 | 53.91 ▲0.27 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▼0.05 | 104.21 ▼8.67 | 43.89 ▼3.39 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Screenshots: Please a description for screenshot #16 in arkcommerce/assets to your readme.txt
- Requires php: Version format is invalid
arkcommerce/arkcommerce.php 85% from 13 tests
The main PHP file in "ARKCommerce" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 345 characters long)
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "3.2.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin5,260 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 890 | 1,145 | 4,296 |
PO File | 1 | 291 | 451 | 805 |
CSS | 2 | 24 | 0 | 147 |
JavaScript | 3 | 3 | 30 | 11 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 21.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 68 | 42.77% |
▷ Public methods | 155 | 97.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.52% |
Functions | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 36 | |
▷ Global constants | 36 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/arkicon.png | 5.15KB | 2.45KB | ▼ 52.52% |
assets/images/gplv3.png | 6.47KB | 5.09KB | ▼ 21.38% |
assets/images/arkcommerce.png | 47.79KB | 15.62KB | ▼ 67.32% |
assets/images/spika.png | 27.09KB | 11.63KB | ▼ 57.06% |
assets/images/arkcommercemailicon.png | 12.57KB | 5.06KB | ▼ 59.76% |