63% appexperts

Code Review | APPExperts - Mobile App Builder for WordPress | WooCommerce to iOS and Android Apps

WordPress plugin APPExperts - Mobile App Builder for WordPress | WooCommerce to iOS and Android Apps scored63%from 54 tests.

About plugin

  • Plugin page: appexperts
  • Plugin version: 1.4.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5.0-6.3
  • WordPress version: 6.3.1
  • First release: Apr 6, 2021
  • Latest release: Nov 2, 2023
  • Number of updates: 122
  • Update frequency: every 7.8 days
  • Top authors: appexpertsio (64.75%)wpexpertsio (36.07%)

Code review

54 tests

User reviews

7 reviews

Install metrics

700+ active /20,654 total downloads

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)
PageMemory (MB)CPU Time (ms)
Home /8.96 ▲5.5077.78 ▲35.49
Dashboard /wp-admin8.98 ▲5.6383.35 ▲14.21
Posts /wp-admin/edit.php8.98 ▲5.6290.56 ▲43.66
Add New Post /wp-admin/post-new.php11.19 ▲5.30121.36 ▲19.30
Media Library /wp-admin/upload.php9.00 ▲5.7672.99 ▲36.04
Home /wp-admin/admin.php?page=app_expert9.0064.39
License /wp-admin/admin.php?page=app_expert_license9.0079.29
Mobile pages /wp-admin/edit.php?post_type=as_mobile_pages9.0067.87
Settings /wp-admin/admin.php?page=app_expert_settings9.0062.29
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius9.0062.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,868 ▲12214.13 ▼0.531.63 ▼0.0432.50 ▼11.31
Dashboard /wp-admin2,274 ▲995.51 ▼0.1484.65 ▼27.5183.97 ▲42.64
Posts /wp-admin/edit.php2,183 ▲831.98 ▼0.0336.73 ▲2.8834.36 ▲0.58
Add New Post /wp-admin/post-new.php1,584 ▲5821.16 ▲0.20675.75 ▲29.12122.24 ▲76.19
Media Library /wp-admin/upload.php1,473 ▲704.20 ▲0.00102.45 ▲5.2272.98 ▲29.94
Home /wp-admin/admin.php?page=app_expert1,8489.00292.4165.76
License /wp-admin/admin.php?page=app_expert_license8822.0328.3230.48
Mobile pages /wp-admin/edit.php?post_type=as_mobile_pages1,1891.9133.4231.58
Settings /wp-admin/admin.php?page=app_expert_settings9182.0124.5225.78
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius1,1191.6523.4629.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP3879,79917,60746,180
JavaScript101,2715363,997
CSS20255711,630
Markdown21220449
JSON400125
SVG82497

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 code0.50
Average class complexity20.00
▷ Minimum class complexity1.00
▷ Maximum class complexity2,911.00
Average method complexity3.61
▷ Minimum method complexity1.00
▷ Maximum method complexity86.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes295
▷ Abstract classes51.69%
▷ Concrete classes29098.31%
▷ Final classes00.00%
Methods2,191
▷ Static methods31214.24%
▷ Public methods1,75880.24%
▷ Protected methods351.60%
▷ Private methods39818.17%
Functions98
▷ Named functions9495.92%
▷ Anonymous functions44.08%
Constants162
▷ Global constants10061.73%
▷ Class constants6238.27%
▷ Public constants62100.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
FileSize - originalSize - compressedSavings
includes/integrations/peepso-core/assets/imgs/emojis/sick.png4.10KB3.86KB▼ 5.86%
includes/integrations/peepso-core/assets/imgs/emojis/scared.png3.97KB3.77KB▼ 5.23%
includes/integrations/peepso-core/assets/imgs/emojis/strong.png1.10KB0.95KB▼ 13.55%
includes/integrations/wordpress/assets/images/placeholder.png0.77KB0.53KB▼ 31.43%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%