83% appmysite

Code Review | AppMySite - Create an app with the Best Mobile App Builder

WordPress plugin AppMySite - Create an app with the Best Mobile App Builder scored83%from 54 tests.

About plugin

  • Plugin page: appmysite
  • Plugin version: 3.10.0
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Jan 10, 2020
  • Latest release: Sep 6, 2023
  • Number of updates: 124
  • Update frequency: every 10.8 days
  • Top authors: appmysite (100%)

Code review

54 tests

User reviews

137 reviews

Install metrics

10,000+ active /258,516 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.49MB] [CPU: ▼5.59ms] Passed 4 tests

Analyzing server-side resources used by AppMySite - Create an app with the Best Mobile App Builder
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.98 ▲0.5238.09 ▼3.99
Dashboard /wp-admin3.82 ▲0.5149.47 ▼3.37
Posts /wp-admin/edit.php3.87 ▲0.5150.63 ▲1.72
Add New Post /wp-admin/post-new.php6.39 ▲0.5084.18 ▼16.70
Media Library /wp-admin/upload.php3.68 ▲0.4440.32 ▲5.39

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for AppMySite - Create an app with the Best Mobile App Builder
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,855 ▲12013.28 ▼1.104.36 ▲2.6438.44 ▼5.92
Dashboard /wp-admin2,265 ▲774.86 ▼0.96112.77 ▲2.3942.94 ▼2.49
Posts /wp-admin/edit.php2,144 ▲521.99 ▼0.0541.74 ▲2.9234.40 ▲1.69
Add New Post /wp-admin/post-new.php1,556 ▲3718.57 ▼4.60612.96 ▼58.8754.95 ▲6.21
Media Library /wp-admin/upload.php1,441 ▲624.21 ▲0.02102.36 ▲0.0240.31 ▼2.97

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/appmysite/appmysite.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Add descriptions for screenshots #0, #1, #2, #3, #4, #5, #6, #7, #8, #9 in appmysite/assets to your readme.txt
Please take inspiration from this readme.txt

appmysite/appmysite.php 85% from 13 tests

The entry point to "AppMySite - Create an app with the Best Mobile App Builder" version 3.10.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 193 characters long)
  • Requires at least: The required version number must match the one declared in readme.txt ("5.8" instead of "3.8.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,954 lines of code in 30 files:
LanguageFilesBlank linesComment linesLines of code
PHP217697733,260
CSS293171,153
JavaScript26020270
Markdown2750164
JSON300107

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity27.08
▷ Minimum class complexity1.00
▷ Maximum class complexity173.00
Average method complexity4.57
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes550.00%
Methods89
▷ Static methods1820.22%
▷ Public methods7483.15%
▷ Protected methods44.49%
▷ Private methods1112.36%
Functions39
▷ Named functions3282.05%
▷ Anonymous functions717.95%
Constants2
▷ Global constants150.00%
▷ Class constants150.00%
▷ Public constants1100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.52MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/website-link4.png1.10KB0.56KB▼ 49.51%
assets/images/connectivity-troubleshoot.png15.97KB6.16KB▼ 61.43%
assets/images/issues.png0.55KB0.32KB▼ 42.02%
assets/images/website-link2.png1.01KB0.56KB▼ 44.20%
assets/images/youtubelink.png504.75KB182.66KB▼ 63.81%