Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼133.51ms] Passed 4 tests
Server-side resources used by web service all in one
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.15 ▲0.43 | 39.07 ▲10.72 |
Dashboard /wp-admin | 3.45 ▲0.39 | 52.24 ▲7.80 |
Posts /wp-admin/edit.php | 3.50 ▲0.39 | 47.54 ▲2.42 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.89 | 100.37 ▼554.99 |
Media Library /wp-admin/upload.php | 3.33 ▲0.33 | 36.42 ▲10.73 |
All mamurjorteam /wp-admin/edit.php?post_type=mamurjorteam | 3.37 | 37.25 |
All mamurjorlearn /wp-admin/edit.php?post_type=mamurjorlearn | 3.37 | 35.24 |
All mamurjorabout /wp-admin/edit.php?post_type=mamurjorabout | 3.37 | 33.85 |
Add New /wp-admin/post-new.php?post_type=mamurjorcourse | 6.32 | 92.19 |
Add New /wp-admin/post-new.php?post_type=mamurjorpackage | 6.31 | 92.53 |
All mamurjorpackage /wp-admin/edit.php?post_type=mamurjorpackage | 3.37 | 34.56 |
All mamurjorcourse /wp-admin/edit.php?post_type=mamurjorcourse | 3.37 | 34.47 |
All mamurjorfeedback /wp-admin/edit.php?post_type=mamurjorfeedback | 3.37 | 34.59 |
Add New /wp-admin/post-new.php?post_type=homeslider | 3.41 | 48.18 |
All homeslider /wp-admin/edit.php?post_type=homeslider | 3.37 | 43.18 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by web service all in one
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,065 ▲469 | 16.32 ▲0.33 | 13.30 ▲3.16 | 46.99 ▼4.98 |
Dashboard /wp-admin | 3,219 ▲288 | 6.17 ▲0.02 | 161.30 ▲10.07 | 111.14 ▲4.09 |
Posts /wp-admin/edit.php | 2,988 ▲249 | 2.76 ▲0.05 | 69.82 ▲4.37 | 82.34 ▼8.07 |
Add New Post /wp-admin/post-new.php | 1,665 ▲61 | 18.59 ▼0.16 | 385.78 ▼22.59 | 106.43 ▼0.97 |
Media Library /wp-admin/upload.php | 2,056 ▲234 | 4.95 ▼0.07 | 153.87 ▼16.90 | 120.66 ▼0.20 |
All mamurjorteam /wp-admin/edit.php?post_type=mamurjorteam | 1,655 | 2.65 | 67.30 | 71.49 |
All mamurjorlearn /wp-admin/edit.php?post_type=mamurjorlearn | 1,655 | 2.65 | 63.96 | 73.97 |
All mamurjorabout /wp-admin/edit.php?post_type=mamurjorabout | 1,655 | 2.67 | 68.46 | 74.40 |
Add New /wp-admin/post-new.php?post_type=mamurjorcourse | 5,857 | 16.71 | 471.96 | 125.32 |
Add New /wp-admin/post-new.php?post_type=mamurjorpackage | 5,819 | 16.80 | 413.58 | 107.91 |
All mamurjorpackage /wp-admin/edit.php?post_type=mamurjorpackage | 1,655 | 2.65 | 65.35 | 69.68 |
All mamurjorcourse /wp-admin/edit.php?post_type=mamurjorcourse | 1,655 | 2.66 | 60.14 | 71.12 |
All mamurjorfeedback /wp-admin/edit.php?post_type=mamurjorfeedback | 1,655 | 2.66 | 63.45 | 71.20 |
Add New /wp-admin/post-new.php?post_type=homeslider | 2,475 | 4.65 | 106.74 | 87.44 |
All homeslider /wp-admin/edit.php?post_type=homeslider | 1,655 | 2.66 | 74.23 | 73.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/web-service-all-in-one/public/partials/webserviceallinone-public-display.php
- > /wp-content/plugins/web-service-all-in-one/admin/partials/webserviceallinone-admin-display.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/web-service-all-in-one/admin/feedback/mamurjorfeedback.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/web-service-all-in-one/admin/about/mamurjorabout.php:67
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=mamurjorpackage
- > Intervention (severe) in unknown
/wp-admin/post-new.php?post_type=mamurjorpackage - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is stored in the /assets directory.), #2 (This is the second screen shot)
web-service-all-in-one/webserviceallinone.php 85% from 13 tests
The main PHP file in "web service all in one" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("web-service-all-in-one.php" instead of "webserviceallinone.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 detected1,136 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 381 | 543 | 1,130 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin