Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲3.60MB] [CPU: ▲19.94ms] Passed 4 tests
This is a short check of server-side resources used by MStore API
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.08 ▲3.61 | 67.53 ▲26.54 |
Dashboard /wp-admin | 6.92 ▲3.57 | 66.52 ▲5.24 |
Posts /wp-admin/edit.php | 6.97 ▲3.61 | 73.94 ▲25.64 |
Add New Post /wp-admin/post-new.php | 9.85 ▲3.96 | 125.67 ▲25.44 |
Media Library /wp-admin/upload.php | 6.84 ▲3.61 | 61.16 ▲23.45 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 187 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MStore API
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.25 ▼0.16 | 1.93 ▲0.04 | 42.61 ▼1.76 |
Dashboard /wp-admin | 2,208 ▲34 | 5.62 ▼0.03 | 92.64 ▲1.97 | 42.52 ▼0.42 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.97 ▼0.03 | 38.56 ▼1.94 | 34.47 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.06 ▼0.14 | 690.29 ▼122.23 | 56.24 ▼0.90 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.26 ▲0.05 | 101.32 ▼20.45 | 42.03 ▼6.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 182× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mstore-api/controllers/flutter-notification.php:28
- > PHP Notice
Constant SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES already defined in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core32_Util' not found in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/src/Core32/ChaCha20/Ctx.php:10
- > PHP Notice
Constant SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE already defined in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 62
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core32_ChaCha20' not found in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/src/Core32/HChaCha20.php:10
- > PHP Notice
Constant SODIUM_CRYPTO_SIGN_BYTES already defined in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 84
- > PHP Notice
Constant SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE already defined in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mstore-api/controllers/flutter-woo.php:28
- > PHP Notice
Constant SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING already defined in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 8
- > PHP Notice
Constant SODIUM_CRYPTO_SIGN_SECRETKEYBYTES already defined in wp-content/plugins/mstore-api/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 87
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: android, inspireui, fluxstore, mstore, ios...
mstore-api/mstore-api.php 92% from 13 tests
The primary PHP file in "MStore API" version 4.10.7 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin43,986 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 164 | 5,355 | 13,415 | 42,633 |
Markdown | 4 | 215 | 0 | 742 |
JSON | 6 | 0 | 0 | 437 |
JavaScript | 1 | 8 | 0 | 149 |
XML | 1 | 0 | 0 | 19 |
Bourne Shell | 1 | 2 | 0 | 3 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 402.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 143 | |
▷ Abstract classes | 20 | 13.99% |
▷ Concrete classes | 123 | 86.01% |
▷ Final classes | 0 | 0.00% |
Methods | 1,219 | |
▷ Static methods | 590 | 48.40% |
▷ Public methods | 1,106 | 90.73% |
▷ Protected methods | 74 | 6.07% |
▷ Private methods | 39 | 3.20% |
Functions | 378 | |
▷ Named functions | 222 | 58.73% |
▷ Anonymous functions | 156 | 41.27% |
Constants | 351 | |
▷ Global constants | 15 | 4.27% |
▷ Class constants | 336 | 95.73% |
▷ Public constants | 327 | 97.32% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin