Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/joudisoft-general-wp-mobile-application/functions/options-functions.php+4
Trying to access array offset on value of type null
Server metrics [RAM: ▼0.45MB] [CPU: ▼17.05ms] Passed 4 tests
Analyzing server-side resources used by joudiSoft General WordPress Mobile Application
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 40.93 ▼2.19 |
Dashboard /wp-admin | 3.53 ▲0.22 | 49.96 ▲5.41 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 47.11 ▼2.75 |
Add New Post /wp-admin/post-new.php | 3.40 ▼2.48 | 39.26 ▼61.90 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 36.72 ▼1.34 |
Server storage [IO: ▲7.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 203 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
joudiSoft General WordPress Mobile Application: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲55 | 13.25 ▼1.33 | 4.80 ▲2.59 | 50.10 ▲0.79 |
Dashboard /wp-admin | 2,215 ▲27 | 5.83 ▼0.05 | 97.76 ▼11.29 | 38.36 ▼3.15 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.00 ▼0.01 | 35.11 ▼6.75 | 33.55 ▼4.87 |
Add New Post /wp-admin/post-new.php | 1,552 ▲33 | 18.51 ▼4.50 | 587.91 ▼100.92 | 54.88 ▼14.64 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.22 ▲0.01 | 94.23 ▼8.12 | 41.16 ▼4.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
Please take a closer look at the following
- 11× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/functions/render-functions.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/app-init.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/functions/on-demand/jsoft_awp_http_build_url.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/render.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/functions/awp-functions.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/functions/jsoft-functions.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/viewmissed.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/functions.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/ionic.php
- > /wp-content/plugins/joudisoft-general-wp-mobile-application/appbox-wordpress-general.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/joudisoft-general-wp-mobile-application/classes/jsoft_awp_div.class.php on line 5769
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/joudisoft-general-wp-mobile-application/classes/jsoft_awp_div.class.php on line 5753
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/joudisoft-general-wp-mobile-application/classes/jsoft_awp_div.class.php on line 5745
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/joudisoft-general-wp-mobile-application/wp-json.php:2
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/joudisoft-general-wp-mobile-application/classes/jsoft_awp_div.class.php on line 5737
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/joudisoft-general-wp-mobile-application/classes/jsoft_awp_div.class.php on line 5727
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/joudisoft-general-wp-mobile-application/classes/jsoft_awp_div.class.php on line 5761
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
joudisoft-general-wp-mobile-application/appbox-wordpress-general.php 92% from 13 tests
The main PHP file in "joudiSoft General WordPress Mobile Application" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("joudisoft-general-wp-mobile-application.php" instead of "appbox-wordpress-general.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected26,899 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 380 | 85 | 10,366 |
PHP | 43 | 1,717 | 1,699 | 9,018 |
JavaScript | 7 | 623 | 396 | 3,552 |
SVG | 2 | 0 | 0 | 2,900 |
Smarty | 12 | 5 | 0 | 1,063 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,530)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 826.00 |
▷ Minimum class complexity | 122.00 |
▷ Maximum class complexity | 1,530.00 |
Average method complexity | 8.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 97.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 211 | |
▷ Static methods | 75 | 35.55% |
▷ Public methods | 167 | 79.15% |
▷ Protected methods | 34 | 16.11% |
▷ Private methods | 10 | 4.74% |
Functions | 52 | |
▷ Named functions | 50 | 96.15% |
▷ Anonymous functions | 2 | 3.85% |
Constants | 149 | |
▷ Global constants | 148 | 99.33% |
▷ Class constants | 1 | 0.67% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
99 PNG files occupy 4.31MB with 2.67MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-7.png | 67.65KB | 69.83KB | 0.00% |
assets/img/resources/notification_icons/v1_13.png | 21.33KB | 3.16KB | ▼ 85.19% |
assets/img/icon.png | 13.02KB | 5.74KB | ▼ 55.94% |
assets/img/resources/notification_icons/v1_23.png | 21.81KB | 3.59KB | ▼ 83.52% |
assets/img/resources/notification_icons/v1_53.png | 16.52KB | 2.42KB | ▼ 85.36% |