Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲5.51MB] [CPU: ▲26.26ms] 75% from 4 tests
Analyzing server-side resources used by APPExperts - Mobile App Builder for WordPress | WooCommerce to iOS and Android Apps
Please have a look at the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.51MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.96 ▲5.50 | 77.78 ▲35.49 |
Dashboard /wp-admin | 8.98 ▲5.63 | 83.35 ▲14.21 |
Posts /wp-admin/edit.php | 8.98 ▲5.62 | 90.56 ▲43.66 |
Add New Post /wp-admin/post-new.php | 11.19 ▲5.30 | 121.36 ▲19.30 |
Media Library /wp-admin/upload.php | 9.00 ▲5.76 | 72.99 ▲36.04 |
Home /wp-admin/admin.php?page=app_expert | 9.00 | 64.39 |
License /wp-admin/admin.php?page=app_expert_license | 9.00 | 79.29 |
Mobile pages /wp-admin/edit.php?post_type=as_mobile_pages | 9.00 | 67.87 |
Settings /wp-admin/admin.php?page=app_expert_settings | 9.00 | 62.29 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 9.00 | 62.09 |
Server storage [IO: ▲4.58MB] [DB: ▲0.06MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 507 new files
Database: 2 new tables, 13 new options
New tables |
---|
wp_push_notifications |
wp_push_notifications_user |
New WordPress options |
---|
app_expert_settings |
license_key |
fs_debug_mode |
fs_gdpr |
db_upgraded |
appexperts_domain |
fs_accounts |
widget_recent-comments |
widget_theysaidso_widget |
fs_active_plugins |
... |
Browser metrics Passed 4 tests
APPExperts - Mobile App Builder for WordPress | WooCommerce to iOS and Android Apps: 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,868 ▲122 | 14.13 ▼0.53 | 1.63 ▼0.04 | 32.50 ▼11.31 |
Dashboard /wp-admin | 2,274 ▲99 | 5.51 ▼0.14 | 84.65 ▼27.51 | 83.97 ▲42.64 |
Posts /wp-admin/edit.php | 2,183 ▲83 | 1.98 ▼0.03 | 36.73 ▲2.88 | 34.36 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,584 ▲58 | 21.16 ▲0.20 | 675.75 ▲29.12 | 122.24 ▲76.19 |
Media Library /wp-admin/upload.php | 1,473 ▲70 | 4.20 ▲0.00 | 102.45 ▲5.22 | 72.98 ▲29.94 |
Home /wp-admin/admin.php?page=app_expert | 1,848 | 9.00 | 292.41 | 65.76 |
License /wp-admin/admin.php?page=app_expert_license | 882 | 2.03 | 28.32 | 30.48 |
Mobile pages /wp-admin/edit.php?post_type=as_mobile_pages | 1,189 | 1.91 | 33.42 | 31.58 |
Settings /wp-admin/admin.php?page=app_expert_settings | 918 | 2.01 | 24.52 | 25.78 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 1,119 | 1.65 | 23.46 | 29.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/appexperts/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 2 tables in the database
- wp_push_notifications_user
- wp_push_notifications
- The uninstall procedure has failed, leaving 13 options in the database
- appexperts_domain
- app_expert_settings
- widget_recent-posts
- fs_gdpr
- fs_accounts
- fs_active_plugins
- theysaidso_admin_options
- fs_debug_mode
- db_upgraded
- license_key
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 167× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'APP_EXPERT_PATHvendor/firebase/php-jwt/src/JWT.php' (include_path='.:/usr/share/php') in wp-content/plugins/appexperts/includes/features/authentication/helpers/app-expert-jwt-helper.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/appexperts/includes/integrations/woocommerce-bookings/apis/endpoints/app-expert-wcb-booking-endpoint.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/appexperts/includes/features/admin-menu/templates/home-sections/steps/configure_application.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/appexperts/includes/integrations/wordpress/templates/category-images/add-taxonomy-image-field.php:2
- > PHP Fatal error
Uncaught Error: Class 'App_Expert_Route' not found in wp-content/plugins/appexperts/includes/integrations/peepso-videos/apis/routes/app-expert-peepso-videos-routes.php:12
- > PHP Fatal error
Uncaught Error: Class 'App_Expert_Feature' not found in wp-content/plugins/appexperts/includes/features/admin-menu/app-expert-admin-menu-init.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/appexperts/includes/integrations/woocommerce/apis/modifications/app-expert-wc-product-terms.php:6
- > PHP Fatal error
Uncaught Error: Class 'App_Expert_Webview_Authentication' not found in wp-content/plugins/appexperts/includes/integrations/peepso-core/frontend/app-expert-peepso-core-profile-authentication.php:2
- > PHP Fatal error
Uncaught Error: Class 'App_Expert_Route' not found in wp-content/plugins/appexperts/includes/integrations/peepso-core/apis/routes/app-expert-peepso-core-members-routes.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Post_Types_Controller' not found in wp-content/plugins/appexperts/includes/features/admin-menu/apis/endpoints/app-expert-settings-endpoint.php:2
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: android app, ios app, mobile app, mobile app builder, app builder
appexperts/app-expert.php 85% from 13 tests
The main PHP file in "APPExperts - Mobile App Builder for WordPress | WooCommerce to iOS and Android Apps" ver. 1.4.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("appexperts.php" instead of "app-expert.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin52,478 lines of code in 431 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 387 | 9,799 | 17,607 | 46,180 |
JavaScript | 10 | 1,271 | 536 | 3,997 |
CSS | 20 | 255 | 71 | 1,630 |
Markdown | 2 | 122 | 0 | 449 |
JSON | 4 | 0 | 0 | 125 |
SVG | 8 | 2 | 4 | 97 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 295 | |
▷ Abstract classes | 5 | 1.69% |
▷ Concrete classes | 290 | 98.31% |
▷ Final classes | 0 | 0.00% |
Methods | 2,191 | |
▷ Static methods | 312 | 14.24% |
▷ Public methods | 1,758 | 80.24% |
▷ Protected methods | 35 | 1.60% |
▷ Private methods | 398 | 18.17% |
Functions | 98 | |
▷ Named functions | 94 | 95.92% |
▷ Anonymous functions | 4 | 4.08% |
Constants | 162 | |
▷ Global constants | 100 | 61.73% |
▷ Class constants | 62 | 38.27% |
▷ Public constants | 62 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
31 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/integrations/peepso-core/assets/imgs/emojis/sick.png | 4.10KB | 3.86KB | ▼ 5.86% |
includes/integrations/peepso-core/assets/imgs/emojis/scared.png | 3.97KB | 3.77KB | ▼ 5.23% |
includes/integrations/peepso-core/assets/imgs/emojis/strong.png | 1.10KB | 0.95KB | ▼ 13.55% |
includes/integrations/wordpress/assets/images/placeholder.png | 0.77KB | 0.53KB | ▼ 31.43% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |