10% appypie-web-to-app

Code Review | Appypie Web to Mobile App

WordPress plugin Appypie Web to Mobile App scored10%from 54 tests.

About plugin

  • Plugin page: appypie-web-to-app
  • Plugin version: 1.2.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.3
  • WordPress version: 6.3.1
  • First release: Sep 10, 2018
  • Latest release: Nov 2, 2023
  • Number of updates: 21
  • Update frequency: every 89.7 days
  • Top authors: hancock11 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /4,872 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/appypie-web-to-app/appypie-woocommerce-app-maker.php+79
    Undefined variable: permission

Server metrics [RAM: ▼1.57MB] [CPU: ▼50.62ms] Passed 4 tests

Server-side resources used by Appypie Web to Mobile App
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.42 ▼1.055.78 ▼35.21
Dashboard /wp-admin2.44 ▼0.876.46 ▼41.87
Posts /wp-admin/edit.php2.44 ▼0.929.70 ▼38.38
Add New Post /wp-admin/post-new.php2.44 ▼3.456.74 ▼87.03
Media Library /wp-admin/upload.php2.44 ▼0.795.97 ▼27.86

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 249 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
mobilepay
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Appypie Web to Mobile App
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲6314.42 ▲0.151.69 ▲0.0141.50 ▼1.81
Dashboard /wp-admin2,231 ▲515.72 ▲0.0397.31 ▲6.7349.63 ▲9.70
Posts /wp-admin/edit.php2,136 ▲362.26 ▲0.2942.09 ▲4.4837.65 ▲5.86
Add New Post /wp-admin/post-new.php1,564 ▲3818.79 ▼4.23609.83 ▼50.6387.00 ▲26.91
Media Library /wp-admin/upload.php1,436 ▲364.41 ▲0.2398.07 ▲0.4848.56 ▲4.95

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
    • > Notice in wp-content/plugins/appypie-web-to-app/appypie-woocommerce-app-maker.php+79
    Undefined variable: permission
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • mobilepay
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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
Please take a closer look at the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Warning
      include_once(GeoIP/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/appypie-web-to-app/list/CountryIP.php on line 2
    • > PHP Warning
      include_once(): Failed opening 'GeoIP/vendor/autoload.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/appypie-web-to-app/list/CountryIP.php on line 2

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots require images: #1 (WordPress plugin settings page), #2 (App Created with Appy Pie), #3 (Mobile App Preview)
You can look at the official readme.txt

appypie-web-to-app/appypie-woocommerce-app-maker.php 85% from 13 tests

The main file in "Appypie Web to Mobile App" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("appypie-web-to-app.php" instead of "appypie-woocommerce-app-maker.php")
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected23,370 lines of code in 223 files:
LanguageFilesBlank linesComment linesLines of code
JSON2010017,624
CSS7452463,621
PHP373781,912
SVG900209
JavaScript3094

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity65.00
▷ Minimum class complexity65.00
▷ Maximum class complexity65.00
Average method complexity4.00
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods20
▷ Static methods00.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 PNG files occupy 0.20MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
list/images/app_view.png0.52KB0.35KB▼ 32.40%
list/images/app_bg_setting.png0.62KB0.38KB▼ 39.43%
list/images/thanks_bg.png3.25KB1.91KB▼ 41.26%
list/images/secured.png4.12KB2.64KB▼ 35.95%
list/images/visa.png3.43KB2.13KB▼ 37.73%