Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.57ms] Passed 4 tests
Server-side resources used by B2App - Android & iOS native apps builder without using code
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.63 ▲0.23 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.04 ▼1.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.24 ▼1.85 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.26 ▼10.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.27 ▼3.77 |
Server storage [IO: ▲12.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
B2App - Android & iOS native apps builder without using code: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.37 ▼0.93 | 4.42 ▲2.61 | 44.27 ▲3.58 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.95 | 112.70 ▼4.26 | 44.65 ▲1.22 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▲0.03 | 34.56 ▼2.84 | 35.78 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.19 ▼0.18 | 616.17 ▼66.18 | 51.45 ▼4.21 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.20 ▼0.01 | 95.22 ▼12.04 | 44.07 ▼2.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/b2app-no-code-mobile-app-builder/admin/partials/b2app-app-builder-admin-display.php
- > /wp-content/plugins/b2app-no-code-mobile-app-builder/public/partials/b2app-app-builder-public-display.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WC_Admin_Settings' not found in wp-content/plugins/b2app-no-code-mobile-app-builder/admin/partials/b2app-app-builder-settings-app-created.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_post() in wp-content/plugins/b2app-no-code-mobile-app-builder/admin/partials/b2app-app-builder-settings-app-info.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/b2app-no-code-mobile-app-builder/admin/partials/b2app-app-builder-settings-main.php:5
- > PHP Fatal error
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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
b2app-no-code-mobile-app-builder/b2app-app-builder.php 77% from 13 tests
Analyzing the main PHP file in "B2App - Android & iOS native apps builder without using code" version 1.0.0
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("b2app-no-code-mobile-app-builder.php" instead of "b2app-app-builder.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,003 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 1,204 |
PHP | 16 | 232 | 611 | 632 |
CSS | 2 | 21 | 8 | 156 |
JavaScript | 2 | 5 | 54 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
11 PNG files occupy 12.01MB with 3.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/partials/images/apptypes/jewelry.png | 1,604.72KB | 1,315.21KB | ▼ 18.04% |
admin/partials/images/apptypes/shoes.png | 1,752.72KB | 1,210.17KB | ▼ 30.96% |
admin/partials/images/apptypes/sport_wear.png | 1,667.67KB | 1,259.26KB | ▼ 24.49% |
admin/partials/images/apptypes/empty.png | 91.58KB | 51.45KB | ▼ 43.82% |
admin/partials/images/apptypes/beauty_salon.png | 2,021.11KB | 1,454.11KB | ▼ 28.05% |