Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.20ms] Passed 4 tests
A check of server-side resources used by Mega Store Companion
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.99 ▼2.75 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.34 ▼1.30 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.03 ▲0.20 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 93.34 ▼0.95 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.71 ▲4.17 |
Server storage [IO: ▲1.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mega Store Companion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▲0.34 | 1.90 ▼0.19 | 47.59 ▲4.38 |
Dashboard /wp-admin | 2,209 ▲34 | 5.86 ▲1.00 | 101.75 ▼25.03 | 42.04 ▼6.10 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.04 | 37.19 ▼1.17 | 31.74 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.21 ▲0.08 | 663.39 ▼27.47 | 53.35 ▼8.45 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.21 ▲0.04 | 98.82 ▼5.84 | 41.91 ▼1.30 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mega-store-companion/fields/repeater/inc/icons.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: testimonial, mega store, slider, mega store companion
mega-store-companion/mega-store-companion.php Passed 13 tests
The entry point to "Mega Store Companion" version 1.3 is a PHP file that has certain tags in its header comment area
111 characters long description:
Advance Extension For Mega Store Theme. enjoy full functionality of Mega Store theme by installing this plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin10,739 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 1,249 | 394 | 5,056 |
CSS | 13 | 141 | 34 | 3,117 |
PHP | 13 | 258 | 85 | 1,881 |
SVG | 1 | 0 | 0 | 685 |
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.34 |
Average class complexity | 19.11 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 5.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 70.59% |
▷ Protected methods | 4 | 11.76% |
▷ Private methods | 6 | 17.65% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin