Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.06ms] Passed 4 tests
Server-side resources used by NGAZE Order Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.43 ▼3.07 |
Dashboard /wp-admin | 3.40 ▲0.10 | 46.75 ▼0.62 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 47.94 ▼2.73 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.83 ▼12.30 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.18 ▼2.14 |
Dashboard /wp-admin/plugins.php?page=meta-box | 3.36 | 34.65 |
NGAZE OrderGate /wp-admin/edit.php?post_type=ngaze_order_gate | 3.37 | 35.62 |
Add New /wp-admin/post-new.php?post_type=ngaze_order_gate | 3.41 | 45.03 |
Server storage [IO: ▲0.85MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 255 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by NGAZE Order Gateway
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 13.25 ▼1.13 | 1.61 ▼0.32 | 40.91 ▼2.81 |
Dashboard /wp-admin | 2,253 ▲65 | 4.88 ▼1.21 | 100.27 ▼8.55 | 41.73 ▼0.14 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.01 ▼0.05 | 36.12 ▼4.67 | 33.09 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,556 ▲42 | 23.47 ▲5.99 | 662.61 ▼11.84 | 50.75 ▼3.90 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.20 ▲0.01 | 96.67 ▼18.62 | 41.63 ▼5.50 |
Dashboard /wp-admin/plugins.php?page=meta-box | 1,334 | 2.03 | 27.58 | 43.84 |
NGAZE OrderGate /wp-admin/edit.php?post_type=ngaze_order_gate | 1,080 | 1.99 | 31.23 | 28.52 |
Add New /wp-admin/post-new.php?post_type=ngaze_order_gate | 1,566 | 3.02 | 56.35 | 62.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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
Even though everything seems fine, this is not 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 fix the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/templates/upload.php
- > /wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/templates/media.php
- > /wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/templates/video.php
- > /wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/templates/audio.php
- 64× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Datetime_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/date.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/multiple-values.php:17
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/map.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/divider.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Object_Choice_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/user.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Media_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/file-upload.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Multiple_Values_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/text-list.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Object_Choice_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/taxonomy.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/text.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ngaze-order-gateway/external/meta-box/inc/fields/background.php:11
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: order gateway, ngaze order gateway, ngaze
ngaze-order-gateway/ngaze-order-gateway.php Passed 13 tests
The main PHP file in "NGAZE Order Gateway" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
19 characters long description:
NGAZE Order Gateway
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin10,098 lines of code in 236 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 99 | 1,130 | 4,105 | 5,799 |
JavaScript | 97 | 540 | 457 | 2,255 |
CSS | 39 | 153 | 123 | 2,039 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 6 | 7.41% |
▷ Concrete classes | 75 | 92.59% |
▷ Final classes | 0 | 0.00% |
Methods | 429 | |
▷ Static methods | 288 | 67.13% |
▷ Public methods | 381 | 88.81% |
▷ Protected methods | 28 | 6.53% |
▷ Private methods | 20 | 4.66% |
Functions | 24 | |
▷ Named functions | 21 | 87.50% |
▷ Anonymous functions | 3 | 12.50% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
15 compressed PNG files occupy 0.09MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
external/meta-box/img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
external/meta-box/img/jqueryui/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
external/meta-box/img/jqueryui/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
external/meta-box/inc/about/images/online-generator.png | 12.95KB | 13.04KB | 0.00% |
external/meta-box/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |