Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼303.56ms] Passed 4 tests
A check of server-side resources used by Easymanage
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 59.87 ▲0.41 |
Dashboard /wp-admin | 3.51 ▲0.11 | 33.33 ▼2.90 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 38.07 ▼1.01 |
Add New Post /wp-admin/post-new.php | 7.04 ▲0.07 | 95.43 ▼1,210.75 |
Media Library /wp-admin/upload.php | 3.45 ▲0.16 | 26.87 ▲1.21 |
/wp-admin/admin.php?page=easymanage | 3.36 | 24.28 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 1 new option
New WordPress options |
---|
easymanage_version |
Browser metrics Passed 4 tests
Easymanage: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,772 ▲18 | 15.91 ▼0.21 | 5.66 ▼0.69 | 2.49 ▼0.33 |
Dashboard /wp-admin | 2,878 ▲24 | 6.08 ▼0.08 | 126.21 ▼13.65 | 195.27 ▼18.55 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.23 ▼0.01 | 63.92 ▼1.63 | 144.80 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,711 ▲51 | 21.20 ▲3.90 | 438.83 ▲20.03 | 191.56 ▲37.67 |
Media Library /wp-admin/upload.php | 1,692 ▼5 | 5.52 ▼0.03 | 150.89 ▼7.76 | 228.75 ▲23.14 |
/wp-admin/admin.php?page=easymanage | 1,756 | 11.53 | 245.28 | 186.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 option in the database
- easymanage_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/easymanage/easymanage.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: woocommerce to google sheet, woocommerce, export customers, export products, google sheet...
easymanage/easymanage.php 85% from 13 tests
The primary PHP file in "Easymanage" version 1.0.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Requires at least: Required version must match the one declared in readme.txt ("5.2.0" instead of "3.6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,680 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 679 | 84 | 2,595 |
CSS | 1 | 8 | 0 | 55 |
Markdown | 1 | 4 | 0 | 30 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 17.06 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 192 | |
▷ Static methods | 5 | 2.60% |
▷ Public methods | 113 | 58.85% |
▷ Protected methods | 74 | 38.54% |
▷ Private methods | 5 | 2.60% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 74 | |
▷ Global constants | 6 | 8.11% |
▷ Class constants | 68 | 91.89% |
▷ Public constants | 68 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected