Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.24ms] Passed 4 tests
Analyzing server-side resources used by نمایندگی نت سرویس
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 51.75 ▲2.41 |
Dashboard /wp-admin | 3.39 ▲0.08 | 63.50 ▲5.46 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 53.26 ▼15.21 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 91.46 ▼16.44 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.84 ▼3.72 |
تبلیغات پاپ آپ /wp-admin/admin.php?page=wps-popup | 3.28 | 35.18 |
پیامک انبوه /wp-admin/admin.php?page=wps-sms | 3.28 | 28.86 |
وب اپلیکیشن /wp-admin/admin.php?page=wps-webapp | 3.28 | 30.05 |
بک لینک /wp-admin/admin.php?page=wps-backlink | 3.28 | 31.13 |
صفحه نخست /wp-admin/admin.php?page=wps-general | 3.27 | 32.49 |
ایمیل مارکتینگ /wp-admin/admin.php?page=wps-email | 3.28 | 31.64 |
گواهینامه SSL /wp-admin/admin.php?page=wps-ssl | 3.28 | 34.06 |
بهینه سازی و سئو /wp-admin/admin.php?page=wps-seo | 3.28 | 33.60 |
گوگل مارکتینگ /wp-admin/admin.php?page=wps-google | 3.28 | 32.97 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/netservice-reseller/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for نمایندگی نت سرویس
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲186 | 13.55 ▼1.11 | 7.15 ▲4.93 | 52.26 ▲5.33 |
Dashboard /wp-admin | 2,265 ▲62 | 4.89 ▼0.95 | 118.02 ▼3.08 | 86.38 ▲37.80 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.02 ▼0.03 | 36.66 ▼2.07 | 43.55 ▲1.22 |
Add New Post /wp-admin/post-new.php | 6,347 ▲4,816 | 23.36 ▼0.01 | 1,011.53 ▲290.65 | 55.31 ▼9.22 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.27 ▲0.12 | 104.64 ▼24.63 | 89.52 ▲34.95 |
تبلیغات پاپ آپ /wp-admin/admin.php?page=wps-popup | 926 | 2.02 | 26.75 | 63.99 |
پیامک انبوه /wp-admin/admin.php?page=wps-sms | 929 | 2.01 | 26.32 | 41.32 |
وب اپلیکیشن /wp-admin/admin.php?page=wps-webapp | 932 | 2.01 | 25.98 | 46.43 |
بک لینک /wp-admin/admin.php?page=wps-backlink | 923 | 2.01 | 28.07 | 47.29 |
صفحه نخست /wp-admin/admin.php?page=wps-general | 929 | 2.05 | 25.99 | 45.24 |
ایمیل مارکتینگ /wp-admin/admin.php?page=wps-email | 926 | 2.14 | 28.08 | 48.54 |
گواهینامه SSL /wp-admin/admin.php?page=wps-ssl | 929 | 2.02 | 24.12 | 47.21 |
بهینه سازی و سئو /wp-admin/admin.php?page=wps-seo | 929 | 2.02 | 28.00 | 46.31 |
گوگل مارکتینگ /wp-admin/admin.php?page=wps-google | 932 | 2.02 | 24.32 | 47.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/netservice-reseller/include/main.php
- > /wp-content/plugins/netservice-reseller/netservice.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wps-google
- > Network (severe)
http://netservice.shop/assets/img/logo.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wps-google
- > Network (severe)
http://blog.netservice.shop/wp-content/plugins/NetService/include/download.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 75% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Contributors: Plugin contributors not specified
- Contributors: The plugin tags were not defined
- Screenshots: Screenshot #1 (محیط کاربری افزونه) image required
- Screenshots: A description for screenshot #0 is required in netservice-reseller/assets to your readme.txt
netservice-reseller/netservice.php 77% from 13 tests
"نمایندگی نت سرویس" version 1.9.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 289 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("netservice-reseller.php" instead of "netservice.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
There were no executable files found in this plugin641 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 8 | 20 | 388 |
CSS | 2 | 7 | 22 | 107 |
JavaScript | 5 | 9 | 46 | 66 |
Sass | 2 | 11 | 1 | 36 |
JSON | 1 | 0 | 0 | 32 |
Markdown | 1 | 1 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.26MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/enamad.png | 0.79KB | 0.80KB | 0.00% |
screenshot.png | 131.48KB | 47.66KB | ▼ 63.75% |
include/download.png | 0.55KB | 0.66KB | 0.00% |
include/logo.png | 136.89KB | 33.98KB | ▼ 75.17% |