Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲1.47MB] [CPU: ▲8.39ms] Passed 4 tests
Analyzing server-side resources used by MobiLoud - WordPress Mobile Apps - Convert your WordPress Website to Native Mobile Apps
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.49 ▲1.03 | 54.36 ▲12.65 |
Dashboard /wp-admin | 4.96 ▲1.61 | 62.18 ▲2.46 |
Posts /wp-admin/edit.php | 5.02 ▲1.66 | 64.19 ▲0.74 |
Add New Post /wp-admin/post-new.php | 8.02 ▲2.13 | 228.57 ▲123.29 |
Media Library /wp-admin/upload.php | 4.82 ▲1.59 | 53.26 ▲17.70 |
Configuration /wp-admin/admin.php?page=mobiloud | 4.91 | 60.48 |
Push Notifications /wp-admin/admin.php?page=mobiloud_push | 4.99 | 180.69 |
Server storage [IO: ▲18.86MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 468 new files
Database: 4 new tables, 54 new options
New tables |
---|
wp_mobiloud_pages |
wp_mobiloud_notification_categories |
wp_mobiloud_categories |
wp_mobiloud_notifications |
New WordPress options |
---|
ml_page_title_enabled |
ml_article_list_view_type |
ml_license_tracked |
ml_show_android_cat_tabs |
ml_dateformat |
widget_theysaidso_widget |
ml_allow_landscape |
ml_post_date_enabled |
can_compress_scripts |
ml_hamburger_nav |
... |
Browser metrics Passed 4 tests
A check of browser resources used by MobiLoud - WordPress Mobile Apps - Convert your WordPress Website to Native Mobile Apps
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲201 | 14.77 ▲0.44 | 1.50 ▼0.19 | 38.09 ▼5.70 |
Dashboard /wp-admin | 2,357 ▲179 | 5.62 ▼0.09 | 87.42 ▼31.79 | 52.18 ▲10.16 |
Posts /wp-admin/edit.php | 2,271 ▲168 | 2.05 ▲0.11 | 41.01 ▼23.04 | 48.19 ▼19.75 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 25.68 ▲2.42 | 841.60 ▲162.52 | 68.56 ▲17.75 |
Media Library /wp-admin/upload.php | 1,565 ▲168 | 4.23 ▲0.05 | 97.93 ▼9.29 | 51.06 ▲6.85 |
Configuration /wp-admin/admin.php?page=mobiloud | 13,354 | 9.96 | 175.72 | 56.05 |
Push Notifications /wp-admin/admin.php?page=mobiloud_push | 13,352 | 9.90 | 206.08 | 44.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 4 tables
- wp_mobiloud_pages
- wp_mobiloud_notification_categories
- wp_mobiloud_categories
- wp_mobiloud_notifications
- This plugin does not fully uninstall, leaving 54 options in the database
- ml_contact_link_email
- ml_app_subscription_block_content
- ml_sections_menu
- widget_theysaidso_widget
- ml_page_title_enabled
- ml_allow_landscape
- ml_app_version
- ml_article_list_include_post_types
- can_compress_scripts
- ml_tabbed_navigation_enabled
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/mobiloud-mobile-app-plugin/views/welcome_footer.php
- > /wp-content/plugins/mobiloud-mobile-app-plugin/views/welcome_header.php
- > /wp-content/plugins/mobiloud-mobile-app-plugin/views/get_started_menu_config.php
- > /wp-content/plugins/mobiloud-mobile-app-plugin/templates/views/related.php
- 92× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Mobiloud' not found in wp-content/plugins/mobiloud-mobile-app-plugin/views/sidebar.php:3
- > PHP Notice
Undefined variable: post in wp-content/plugins/mobiloud-mobile-app-plugin/templates/views/related.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'Mobiloud' not found in wp-content/plugins/mobiloud-mobile-app-plugin/templates/list/loop.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mobiloud-mobile-app-plugin/views/header.php:4
- > PHP Fatal error
Uncaught Error: Class 'Mobiloud' not found in wp-content/plugins/mobiloud-mobile-app-plugin/views/block-preview.php:13
- > PHP Fatal error
Uncaught Error: Class 'Blocks\\Setup' not found in wp-content/plugins/mobiloud-mobile-app-plugin/blocks/src/blocks/product-carousel/register.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mobiloud-mobile-app-plugin/templates/sections/sections.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mobiloud-mobile-app-plugin/views/settings_paywall.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function Blocks\\get_values_from_json_attr_keys() in wp-content/plugins/mobiloud-mobile-app-plugin/blocks/src/blocks/divider/dynamic_block.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/mobiloud-mobile-app-plugin/comments/disqus_count.php:3
- > 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 93% 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: There are too many tags (13 tag instead of maximum 10)
mobiloud-mobile-app-plugin/mobiloud.php 92% from 13 tests
The main PHP file in "MobiLoud - WordPress Mobile Apps - Convert your WordPress Website to Native Mobile Apps" ver. 4.4.7 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: Name the main plugin file the same as the plugin slug ("mobiloud-mobile-app-plugin.php" instead of "mobiloud.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin128,798 lines of code in 303 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 79 | 15,374 | 32,545 | 64,139 |
CSS | 46 | 4,062 | 6,625 | 33,899 |
PHP | 119 | 3,149 | 3,506 | 20,040 |
SVG | 22 | 0 | 3 | 7,317 |
Sass | 26 | 465 | 248 | 2,276 |
LESS | 3 | 77 | 6 | 476 |
TypeScript | 1 | 80 | 840 | 373 |
JSON | 6 | 0 | 0 | 277 |
XML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 51.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 531.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 39 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 475 | |
▷ Static methods | 185 | 38.95% |
▷ Public methods | 371 | 78.11% |
▷ Protected methods | 40 | 8.42% |
▷ Private methods | 64 | 13.47% |
Functions | 193 | |
▷ Named functions | 144 | 74.61% |
▷ Anonymous functions | 49 | 25.39% |
Constants | 50 | |
▷ Global constants | 35 | 70.00% |
▷ Class constants | 15 | 30.00% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
106 PNG files occupy 0.40MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icons/ios_menu_icon_white.png | 1.01KB | 0.21KB | ▼ 79.50% |
assets/icons/payment.png | 0.46KB | 0.31KB | ▼ 32.34% |
assets/icons/location_on.png | 1.15KB | 0.58KB | ▼ 49.41% |
assets/icons/info.png | 1.08KB | 0.55KB | ▼ 48.64% |
assets/icons/view_headline.png | 0.36KB | 0.24KB | ▼ 34.14% |