78% appmaker-wp-mobile-app-manager

Code Review | Appmaker WP - Convert WordPress to Native Android & iOS App

WordPress plugin Appmaker WP - Convert WordPress to Native Android & iOS App scored78%from 54 tests.

About plugin

  • Plugin page: appmaker-wp-mobil...
  • Plugin version: 0.4.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.6
  • WordPress version: 6.3.1
  • First release: Aug 19, 2016
  • Latest release: Dec 11, 2020
  • Number of updates: 94
  • Update frequency: every 17.8 days
  • Top authors: appmaker (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

600+ active /64,854 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.08MB] [CPU: ▼2.69ms] Passed 4 tests

This is a short check of server-side resources used by Appmaker WP - Convert WordPress to Native Android & iOS App
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0753.06 ▲9.52
Dashboard /wp-admin3.39 ▲0.0447.25 ▼17.76
Posts /wp-admin/edit.php3.50 ▲0.1449.44 ▼2.12
Add New Post /wp-admin/post-new.php7.03 ▲1.14105.92 ▲5.62
Media Library /wp-admin/upload.php3.31 ▲0.0838.05 ▲3.51
Appmaker WP Settings /wp-admin/options-general.php?page=appmaker-wp-admin3.2935.06

Server storage [IO: ▲5.15MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Appmaker WP - Convert WordPress to Native Android & iOS App
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲5014.31 ▼0.271.82 ▼0.0038.29 ▼4.90
Dashboard /wp-admin2,214 ▲375.58 ▼0.0889.06 ▼4.6977.25 ▲33.10
Posts /wp-admin/edit.php2,126 ▲232.10 ▲0.0936.74 ▼2.8437.78 ▼1.17
Add New Post /wp-admin/post-new.php1,617 ▲8622.30 ▼0.55684.37 ▲61.2751.14 ▼21.97
Media Library /wp-admin/upload.php1,419 ▲194.14 ▼0.08105.08 ▼12.0579.06 ▲33.11
Appmaker WP Settings /wp-admin/options-general.php?page=appmaker-wp-admin1,0142.0425.2354.50

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/appmaker-wp-mobile-app-manager/lib/class-appmaker-testimonial.php
    • > /wp-content/plugins/appmaker-wp-mobile-app-manager/lib/class-appmaker-casestudy.php
  • 12× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/class-appmaker-wp-rest-legacy-posts-controller.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-nav-controller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-posts-controller.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-frontend-controller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/class-appmaker-wp-rest-terms-controller.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/class-appmaker-wp-rest-posts-controller.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/class-appmaker-configure.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-terms-controller.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wc-rest-backend-settings-controller.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-media-controller.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
Attributes that require attention:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
The official readme.txt might help

appmaker-wp-mobile-app-manager/plugin.php 92% from 13 tests

The primary PHP file in "Appmaker WP - Convert WordPress to Native Android & iOS App" version 0.4.3 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("appmaker-wp-mobile-app-manager.php" instead of "plugin.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 plugin48,977 lines of code in 27 files:
LanguageFilesBlank linesComment linesLines of code
PHP2710,85821,57048,977

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity45.60
▷ Minimum class complexity2.00
▷ Maximum class complexity153.00
Average method complexity4.64
▷ Minimum method complexity1.00
▷ Maximum method complexity58.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes20
▷ Abstract classes210.00%
▷ Concrete classes1890.00%
▷ Final classes00.00%
Methods245
▷ Static methods3715.10%
▷ Public methods18374.69%
▷ Protected methods6024.49%
▷ Private methods20.82%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 1.35MB with 0.85MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-128x128.png21.32KB4.11KB▼ 80.73%
assets/banner-772x250.png80.00KB16.72KB▼ 79.10%
assets/icon-256x256.png34.98KB10.96KB▼ 68.66%
assets/screenshot-5.png612.50KB347.75KB▼ 43.22%
assets/screenshot-4.png635.58KB357.77KB▼ 43.71%