72% app-generator

Code Review | Android Appmaker

WordPress plugin Android Appmaker scored72%from 54 tests.

About plugin

  • Plugin page: app-generator
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.5
  • WordPress version: 6.3.1
  • First release: May 23, 2013
  • Latest release: May 24, 2013
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: merqde (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,783 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▲6.08ms] Passed 4 tests

Server-side resources used by Android Appmaker
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0744.68 ▼0.00
Dashboard /wp-admin3.36 ▲0.0553.81 ▲5.30
Posts /wp-admin/edit.php3.39 ▲0.0356.20 ▲9.52
Add New Post /wp-admin/post-new.php5.94 ▲0.05104.97 ▲9.96
Media Library /wp-admin/upload.php3.28 ▲0.0543.72 ▲9.50
App Generator /wp-admin/options-general.php?page=appmaker3.2237.82

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
wp_merq_appmaker
db_upgraded
widget_recent-posts
can_compress_scripts
wp_merq_appmaker_anzahl

Browser metrics Passed 4 tests

Checking browser requirements for Android Appmaker
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.20 ▼1.184.69 ▲2.4538.39 ▼12.52
Dashboard /wp-admin2,210 ▲224.83 ▼1.03108.75 ▲3.6041.50 ▼4.25
Posts /wp-admin/edit.php2,093 ▲12.04 ▼0.0141.74 ▲6.3137.86 ▼0.57
Add New Post /wp-admin/post-new.php1,545 ▲2818.56 ▲0.99602.75 ▼6.0261.79 ▲4.70
Media Library /wp-admin/upload.php1,395 ▲74.22 ▼0.0497.31 ▲0.0941.67 ▲0.14
App Generator /wp-admin/options-general.php?page=appmaker8072.0629.4928.62

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 8 options
    • wp_merq_appmaker
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • wp_merq_appmaker_anzahl
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=appmaker
    • > Notice in wp-content/plugins/app-generator/appmaker.php+126
    Undefined index: anzahl
    • > GET request to /wp-admin/options-general.php?page=appmaker
    • > Notice in wp-content/plugins/app-generator/appmaker.php+144
    Undefined variable: pass_word

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/app-generator/appmaker.php:32

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
    • > GET request to /wp-admin/options-general.php?page=appmaker
    • > Network (severe)
    http://app-generator.net/app-generator.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: android application, generate app, create app, android app, appgenerator...

app-generator/appmaker.php 92% from 13 tests

The main PHP script in "Android Appmaker" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("app-generator.php" instead of "appmaker.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin121 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15132121

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected