Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.67ms] Passed 4 tests
A check of server-side resources used by E-namad & Shamed Logo Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 37.72 ▼2.07 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.91 ▼14.28 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 43.77 ▼2.92 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 79.69 ▼11.39 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.64 ▲1.56 |
تنظیمات لوگوی اینماد /wp-admin/options-general.php?page=enamad-logo-manager-options | 3.28 | 32.22 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
widget_ywp-widget-enamad |
widget_theysaidso_widget |
widget_ywp-widget-shamed |
widget_recent-comments |
widget_ywp-widget-esl-all |
theysaidso_admin_options |
db_upgraded |
widget_ywp-widget-zarrinpal |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for E-namad & Shamed Logo Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.28 ▼0.07 | 1.69 ▲0.06 | 43.59 ▲4.83 |
Dashboard /wp-admin | 2,199 ▲18 | 5.51 ▼0.21 | 83.61 ▼10.73 | 42.02 ▼0.15 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.07 | 37.27 ▲1.31 | 36.04 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.38 ▲0.68 | 660.92 ▼1.50 | 50.10 ▼10.17 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.20 ▲0.08 | 94.84 ▼15.69 | 46.62 ▲0.08 |
تنظیمات لوگوی اینماد /wp-admin/options-general.php?page=enamad-logo-manager-options | 907 | 1.99 | 26.70 | 63.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 10 options
- widget_ywp-widget-shamed
- widget_ywp-widget-zarrinpal
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_ywp-widget-enamad
- db_upgraded
- widget_ywp-widget-esl-all
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/e-namad-shamed-logo-manager/templates/option-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-namad-shamed-logo-manager/widget/class-widget-all.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-namad-shamed-logo-manager/widget/class-widget-enamad.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-namad-shamed-logo-manager/widget/class-widget-zarrin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-namad-shamed-logo-manager/widget/class-widget-shamed.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== e-namad-shamed-logo-manager ===
) - Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in e-namad-shamed-logo-manager/assets to your readme.txt
e-namad-shamed-logo-manager/index.php 92% from 13 tests
Analyzing the main PHP file in "E-namad & Shamed Logo Manager" version 2.2
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("e-namad-shamed-logo-manager.php" instead of "index.php")
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 detected318 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 70 | 13 | 318 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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