68% build-app-online

Code Review | Build App Online

WordPress plugin Build App Online scored68%from 54 tests.

About plugin

  • Plugin page: build-app-online
  • Plugin version: 1.0.19
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1
  • WordPress version: 6.3.1
  • First release: Aug 26, 2021
  • Latest release: Dec 2, 2022
  • Number of updates: 31
  • Update frequency: every 16.1 days
  • Top authors: hakeemnala (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

900+ active /8,101 total downloads

Benchmarks

Plugin footprint 65% 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 gracefully, with no errors

Server metrics [RAM: ▼0.28MB] [CPU: ▼22.31ms] Passed 4 tests

A check of server-side resources used by Build App Online
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.88 ▲0.4239.20 ▼0.22
Dashboard /wp-admin3.71 ▲0.3744.65 ▼15.13
Posts /wp-admin/edit.php3.83 ▲0.4749.58 ▲2.92
Add New Post /wp-admin/post-new.php3.56 ▼2.3337.65 ▼71.73
Media Library /wp-admin/upload.php3.63 ▲0.4133.89 ▼2.17

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 60 new files
Database: 1 new table, 6 new options
New tables
wp_mstoreapp_wishlist
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Build App Online
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,887 ▲14113.59 ▼0.788.14 ▲6.5739.23 ▼0.13
Dashboard /wp-admin2,201 ▲185.85 ▲0.9195.11 ▼15.9538.58 ▼4.15
Posts /wp-admin/edit.php2,093 ▲72.02 ▲0.0239.38 ▲3.6834.79 ▲1.63
Add New Post /wp-admin/post-new.php1,518 ▼123.18 ▲0.05671.62 ▼25.0550.64 ▲2.03
Media Library /wp-admin/upload.php1,392 ▲44.24 ▲0.1694.43 ▼11.7842.38 ▼6.33

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_mstoreapp_wishlist
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/build-app-online/admin/partials/build-app-online-admin-display.php
    • > /wp-content/plugins/build-app-online/public/partials/build-app-online-public-display.php
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Warning
      require(wp-content/plugins/build-app-online/admin\\vendor\\autoload.php): failed to open stream: No such file or directory in wp-content/plugins/build-app-online/admin/firebase-jwt.php on line 5
    • > PHP Fatal error
      require(): Failed opening required 'wp-content/plugins/build-app-online/admin\\vendor\\autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/build-app-online/admin/firebase-jwt.php on line 5

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% 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
These attributes need your attention:
  • Tags: There are too many tags (13 tag instead of maximum 10)
The official readme.txt is a good inspiration

build-app-online/build-app-online.php Passed 13 tests

The main file in "Build App Online" v. 1.0.19 serves as a complement to information provided in readme.txt and as the entry point to the plugin
37 characters long description:
Help you to build and run mobile app.

Code Analysis Passed 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
No dangerous file extensions were detected12,435 lines of code in 52 files:
LanguageFilesBlank linesComment linesLines of code
PHP453,0852,30512,033
Markdown1730284
JSON200112
JavaScript24546
CSS2080

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity49.85
▷ Minimum class complexity1.00
▷ Maximum class complexity825.00
Average method complexity5.17
▷ Minimum method complexity1.00
▷ Maximum method complexity62.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes33
▷ Abstract classes00.00%
▷ Concrete classes33100.00%
▷ Final classes00.00%
Methods374
▷ Static methods4712.57%
▷ Public methods31684.49%
▷ Protected methods236.15%
▷ Private methods359.36%
Functions14
▷ Named functions1285.71%
▷ Anonymous functions214.29%
Constants11
▷ Global constants872.73%
▷ Class constants327.27%
▷ 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