Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.61ms] Passed 4 tests
Analyzing server-side resources used by Shelfy - Mobile App Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.23 ▼5.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.20 ▲0.22 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.08 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.41 ▼6.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.83 ▲2.31 |
Server storage [IO: ▲1.79MB] [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: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Shelfy - Mobile App Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.35 ▼0.26 | 1.74 ▼1.09 | 38.95 ▼7.85 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▲0.05 | 84.54 ▼1.06 | 41.30 ▲1.25 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.96 ▼0.02 | 37.05 ▲0.32 | 34.98 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,535 ▼2 | 18.34 ▲0.09 | 618.74 ▼33.77 | 62.92 ▲3.07 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.27 ▲0.05 | 102.44 ▲0.08 | 44.39 ▼1.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: woocommerce, application, android, ios, mobile
shelfy-mobile-commerce-platform/shelfy.php 85% from 13 tests
This is the main PHP file of "Shelfy - Mobile App Builder" version 1.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.8" instead of "5.0")
- Main file name: Name the main plugin file the same as the plugin slug ("shelfy-mobile-commerce-platform.php" instead of "shelfy.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
Everything looks great! No dangerous files found in this plugin1,723 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 137 | 471 | 1,402 |
CSS | 1 | 46 | 4 | 219 |
JavaScript | 2 | 1 | 5 | 92 |
SVG | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 63 | |
▷ Static methods | 1 | 1.59% |
▷ Public methods | 47 | 74.60% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 25.40% |
Functions | 18 | |
▷ Named functions | 11 | 61.11% |
▷ Anonymous functions | 7 | 38.89% |
Constants | 7 | |
▷ Global constants | 7 | 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
4 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/woocommerce-logo.png | 14.69KB | 5.83KB | ▼ 60.28% |
assets/icon-menu.png | 0.99KB | 0.57KB | ▼ 42.48% |
assets/icon-big.png | 71.75KB | 23.91KB | ▼ 66.67% |
assets/icon.png | 7.94KB | 4.02KB | ▼ 49.37% |