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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.81ms] Passed 4 tests
Server-side resources used by WooCommerce eSewa
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.77 ▲0.40 |
Dashboard /wp-admin | 3.32 ▼0.02 | 46.79 ▼18.50 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.88 ▲1.40 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.46 ▼10.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.86 ▲2.73 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
WooCommerce eSewa: 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,803 ▲46 | 14.35 ▲0.45 | 2.26 ▲0.06 | 38.77 ▼5.71 |
Dashboard /wp-admin | 2,206 ▲26 | 5.61 ▼0.06 | 94.22 ▲3.20 | 43.56 ▲2.18 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.01 ▲0.01 | 40.91 ▲6.27 | 35.97 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.02 ▼0.10 | 655.88 ▼18.20 | 57.43 ▲1.99 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.19 ▲0.01 | 104.45 ▼5.53 | 44.52 ▲0.63 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 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
2 plugin tags: esewa, woocommerce
woocommerce-esewa/woocommerce-esewa.php 92% from 13 tests
Analyzing the main PHP file in "WooCommerce eSewa" version 2.0.0
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "3.6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin464 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 110 | 336 | 440 |
JavaScript | 2 | 5 | 6 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.40 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 1 | 25.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 20 | 60.61% |
▷ Protected methods | 11 | 33.33% |
▷ Private methods | 2 | 6.06% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/esewa.png | 1.48KB | 1.38KB | ▼ 6.68% |