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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.79ms] Passed 4 tests
A check of server-side resources used by Elvez Edit Powered By
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 40.75 ▲0.33 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.97 ▼5.57 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 44.35 ▲0.62 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 81.79 ▼14.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.47 ▲1.92 |
Edit Powerd-by /wp-admin/admin.php?page=elvez-edit-powered-by | 3.21 | 30.55 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
elvez_edit_powered_by_powered_by_url |
widget_recent-comments |
elvez_edit_powered_by_powered_by_text |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Elvez Edit Powered By
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲180 | 13.52 ▼0.86 | 8.91 ▲7.09 | 42.93 ▼6.39 |
Dashboard /wp-admin | 2,236 ▲48 | 4.89 ▼0.21 | 103.33 ▼13.45 | 43.00 ▼1.14 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.04 ▲0.05 | 36.78 ▲0.01 | 30.54 ▼4.78 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 23.38 ▲0.40 | 673.41 ▲24.44 | 63.12 ▲3.75 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.20 ▼0.00 | 99.22 ▼1.77 | 43.13 ▼0.88 |
Edit Powerd-by /wp-admin/admin.php?page=elvez-edit-powered-by | 814 | 2.04 | 24.33 | 25.63 |
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
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- elvez_edit_powered_by_powered_by_text
- elvez_edit_powered_by_powered_by_url
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/elvez-edit-powered-by/public/partials/elvez-edit-powered-by-public-display.php
- > /wp-content/plugins/elvez-edit-powered-by/admin/partials/elvez-edit-powered-by-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% 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
4 plugin tags: copyright, powered_by, theme, footer
elvez-edit-powered-by/elvez-edit-powered-by.php 85% from 13 tests
Analyzing the main PHP file in "Elvez Edit Powered By" version 1.0.3
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "5.2")
- Requires PHP: The required version number must match the one declared in readme.txt ("7.4" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected509 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 152 | 625 | 280 |
CSS | 3 | 30 | 42 | 212 |
JavaScript | 2 | 6 | 27 | 17 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 2.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 4 | 12.90% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 1 | 6.25% |
▷ Class constants | 15 | 93.75% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin