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.01MB] [CPU: ▼2.05ms] Passed 4 tests
This is a short check of server-side resources used by Share MXH
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.37 ▲1.46 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.40 ▼2.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.50 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.73 ▼6.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.91 ▼0.69 |
Share MXH /wp-admin/options-general.php?page=sharemxh-options | 3.18 | 32.23 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Share MXH
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.29 ▼1.35 | 1.76 ▲0.18 | 41.98 ▼1.84 |
Dashboard /wp-admin | 2,210 ▲21 | 4.86 ▼0.08 | 108.42 ▼5.94 | 41.72 ▼0.78 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▲0.03 | 39.98 ▼1.05 | 34.12 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,526 ▲7 | 23.05 ▼0.07 | 656.32 ▲4.35 | 50.82 ▼7.29 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.03 | 97.00 ▼2.53 | 42.50 ▼2.82 |
Share MXH /wp-admin/options-general.php?page=sharemxh-options | 1,038 | 2.02 | 22.42 | 44.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 26 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=sharemxh-options
- > Notice in wp-content/plugins/share-mxh/inc/sharemxh-admin-page.php+95
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/share-mxh/inc/sharemxh-content.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/share-mxh/inc/sharemxh-admin-page.php:108
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/share-mxh/share-mxh.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
Attributes that require attention:
- Screenshots: These screenshots need descriptions #4, #5 in share-mxh/assets to your readme.txt
share-mxh/share-mxh.php Passed 13 tests
The main file in "Share MXH" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
38 characters long description:
Share on social networks for articles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin318 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 9 | 22 | 166 |
PO File | 2 | 48 | 96 | 117 |
CSS | 1 | 0 | 8 | 28 |
SVG | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin