Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/easy-admin-page-master/easy-admin-page-master.php+17
Undefined index: file
Server metrics [RAM: ▼1.97MB] [CPU: ▼56.43ms] Passed 4 tests
An overview of server-side resources used by Easy Admin Page Master
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.18 ▼35.42 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.20 ▼53.75 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.85 ▼43.41 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.68 ▼93.13 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.07 ▼30.06 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Admin Page Master
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.21 ▼1.17 | 1.77 ▲0.00 | 38.82 ▼4.80 |
Dashboard /wp-admin | 2,234 ▲46 | 5.80 ▼0.08 | 100.67 ▼7.36 | 37.89 ▼5.45 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 1.99 ▼0.07 | 36.30 ▼5.55 | 35.34 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 17.46 ▼0.05 | 686.83 ▲18.73 | 53.47 ▲1.48 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.28 ▲0.03 | 107.78 ▼6.87 | 48.58 ▼0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 cannot be uninstalled
- > Notice in wp-content/plugins/easy-admin-page-master/easy-admin-page-master.php+17
Undefined index: file
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- 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 | 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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/easy-admin-page-master/easy-admin-page-master.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/easy-admin-page-master/examples/eapm-all-fields/page.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_file_name() in wp-content/plugins/easy-admin-page-master/examples/eapm-page-with-tabs/page.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
easy-admin-page-master/easy-admin-page-master.php Passed 13 tests
"Easy Admin Page Master" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
66 characters long description:
A plugin to create easy way admin page and options for your 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 plugin2,888 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 690 | 185 | 2,505 |
Markdown | 3 | 104 | 0 | 258 |
JavaScript | 3 | 23 | 7 | 94 |
CSS | 2 | 7 | 0 | 31 |
PHP code Passed 2 tests
Analyzing 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.36 |
Average class complexity | 58.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 21 | 21.21% |
▷ Public methods | 46 | 46.46% |
▷ Protected methods | 50 | 50.51% |
▷ Private methods | 3 | 3.03% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
examples/eapm-page-with-tabs/preview.png | 10.60KB | 5.22KB | ▼ 50.72% |