Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▲0.84ms] Passed 4 tests
This is a short check of server-side resources used by Mynx Page Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 43.50 ▲1.30 |
Dashboard /wp-admin | 3.50 ▲0.20 | 55.18 ▲0.01 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 50.83 ▲0.63 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 98.19 ▲6.29 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 39.46 ▲1.40 |
Server storage [IO: ▲5.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 219 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
azh-library |
widget_recent-comments |
azh-content-settings |
azh-all-settings |
azh-get-content-scripts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Mynx Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲135 | 14.05 ▼0.31 | 10.28 ▲8.27 | 48.32 ▲0.44 |
Dashboard /wp-admin | 2,237 ▲34 | 5.88 ▲0.00 | 105.36 ▼3.40 | 44.18 ▲2.69 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.00 ▲0.00 | 37.17 ▼1.88 | 38.35 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,554 ▲6 | 22.98 ▼0.15 | 606.28 ▼43.87 | 62.32 ▲13.37 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.13 ▼0.16 | 116.75 ▲9.16 | 51.07 ▲2.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- azh-library
- azh-all-settings
- widget_recent-posts
- azh-content-settings
- azh-get-content-scripts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/mynx-page-builder/azh_mynx.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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 to be fixed:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
mynx-page-builder/azh_mynx.php 85% from 13 tests
This is the main PHP file of "Mynx Page Builder" version 0.27.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- 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: The principal plugin file should be the same as the plugin slug ("mynx-page-builder.php" instead of "azh_mynx.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin67,457 lines of code in 184 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 64 | 6,240 | 28,447 |
JavaScript | 17 | 3,381 | 4,189 | 15,852 |
LESS | 8 | 216 | 251 | 10,499 |
HTML | 96 | 2 | 0 | 7,596 |
SVG | 52 | 0 | 45 | 3,794 |
PHP | 1 | 104 | 33 | 1,122 |
JSON | 2 | 2 | 0 | 106 |
PO File | 1 | 12 | 19 | 41 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 43 | 95.56% |
▷ Anonymous functions | 2 | 4.44% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
14 compressed PNG files occupy 0.28MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
azh/images/mynx/logo-2.png | 5.62KB | 5.88KB | 0.00% |
azh/images/mynx/marker.png | 0.67KB | 0.85KB | 0.00% |
azh/images/mynx/logo.png | 2.06KB | 1.84KB | ▼ 10.58% |
azh/images/mynx/woman-1.png | 172.96KB | 183.13KB | 0.00% |
azh/images/mynx/5stars-gray.png | 0.77KB | 0.76KB | ▼ 1.28% |