Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.17ms] 75% from 4 tests
A check of server-side resources used by Namasha By Mdesign
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 623.26ms on /wp-admin/plugin-install.php?s=mdesign&tab=search&type=author)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.35 ▼8.07 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.61 ▲2.83 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.20 ▼0.73 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.20 ▼4.99 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 35.30 ▲1.13 |
Other plugins /wp-admin/plugin-install.php?s=mdesign&tab=search&type=author | 3.34 | 623.26 |
Namasha/Aparat /wp-admin/admin.php?page=namasha-settings | 3.31 | 35.37 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 9 new options
New WordPress options |
---|
namashabymdz_lazyload |
theysaidso_admin_options |
namashabymdz_redirect_onActivate |
widget_recent-posts |
namashabymdz_empty_onDeactivate |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Namasha By Mdesign: 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,858 ▲71 | 14.24 ▼0.16 | 2.10 ▼0.15 | 36.57 ▼8.54 |
Dashboard /wp-admin | 2,263 ▲83 | 5.58 ▼0.03 | 108.27 ▲11.94 | 38.78 ▼2.53 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.02 ▼0.00 | 41.01 ▲1.98 | 36.33 ▼1.39 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 25.06 ▲2.15 | 609.20 ▼9.01 | 60.07 ▲3.32 |
Media Library /wp-admin/upload.php | 1,468 ▲65 | 4.23 ▲0.02 | 97.06 ▼3.78 | 40.31 ▼0.35 |
Other plugins /wp-admin/plugin-install.php?s=mdesign&tab=search&type=author | 1,418 | 1.92 | 36.11 | 45.08 |
Namasha/Aparat /wp-admin/admin.php?page=namasha-settings | 1,358 | 2.20 | 24.42 | 48.09 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- namashabymdz_lazyload
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- namashabymdz_empty_onDeactivate
- widget_recent-comments
- widget_recent-posts
- namashabymdz_redirect_onActivate
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/namasha-by-mdesign/admin/css/admin-css.php
- > /wp-content/plugins/namasha-by-mdesign/admin/class-admin.php
- > /wp-content/plugins/namasha-by-mdesign/front/class-core.php
- > /wp-content/plugins/namasha-by-mdesign/includes/plugin-runner.php
- > /wp-content/plugins/namasha-by-mdesign/admin/html/settings-pagehtml.php
- > /wp-content/plugins/namasha-by-mdesign/admin/admin-ajax.php
- > /wp-content/plugins/namasha-by-mdesign/admin/settingspage.php
- > /wp-content/plugins/namasha-by-mdesign/namasha-by-mdesign.php
- > /wp-content/plugins/namasha-by-mdesign/includes/elem-widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: The plugin tags were not defined
namasha-by-mdesign/namasha-by-mdesign.php Passed 13 tests
This is the main PHP file of "Namasha By Mdesign" version 1.1.32, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
123 characters long description:
نمایش حرفه ای ویدیو های نماشا و آپارات در وردپرس (بدون کاهش سرعت لود)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,139 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 249 | 111 | 1,322 |
SVG | 9 | 0 | 8 | 439 |
PO File | 1 | 101 | 108 | 252 |
JavaScript | 3 | 30 | 4 | 125 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 92.86% |
▷ Protected methods | 2 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin