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
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼12.47ms] Passed 4 tests
Server-side resources used by Mobile builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.80 | 45.46 ▼6.33 |
Dashboard /wp-admin | 4.11 ▲0.80 | 48.24 ▲4.86 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 52.52 ▲6.62 |
Add New Post /wp-admin/post-new.php | 3.93 ▼1.95 | 39.48 ▼54.05 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 40.23 ▲5.65 |
Mobile Builder /wp-admin/options-general.php?page=mobile-builder | 4.03 | 42.04 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 146 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_mobile_builder |
wp_mobile_builder_carts |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
Mobile builder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲85 | 13.74 ▼0.85 | 1.65 ▼1.32 | 40.04 ▼10.33 |
Dashboard /wp-admin | 2,226 ▲41 | 5.83 ▲0.02 | 99.12 ▲0.06 | 39.01 ▼4.94 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.02 ▲0.02 | 40.05 ▲3.86 | 35.31 ▼2.29 |
Add New Post /wp-admin/post-new.php | 45 ▼1,488 | 0.44 ▼22.49 | 0.10 ▼642.54 | 9.64 ▼45.90 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.23 ▼0.01 | 103.89 ▼6.71 | 71.31 ▲21.00 |
Mobile Builder /wp-admin/options-general.php?page=mobile-builder | 1,426 | 8.65 | 157.78 | 38.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_mobile_builder
- wp_mobile_builder_carts
- The uninstall procedure has failed, leaving 7 options in the database
- recovery_mode_email_last_sent
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mobile-builder
- > Error in wp-content/plugins/mobile-builder/public/class-mobile-builder-public.php+100
Uncaught Error: Class 'WC_REST_Product_Reviews_Controller' not found in wp-content/plugins/mobile-builder/public/class-mobile-builder-public.php:100
Stack trace:
#0 wp-includes/class-wp-hook.php(310): Mobile_Builder_Public->add_api_routes()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-includes/rest-api.php(587): do_action()
#4 wp-includes/rest-api.php(411): rest_get_server()
#5 wp-includes/class-wp-hook.php(310): rest_api_loaded()
#6 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#7 wp-includes/plugin.php(565): WP_Hook->do_action()
#8 wp-includes/class-wp.php(398): do_action_ref_array()
#9 wp-includes/class-wp.php(779): WP->parse_request()
#10 wp-includes/functions.php(1335): WP->main()
#11 /var
SRP 0% 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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mobile-builder/admin/partials/rnlab-app-control-admin-display.php
- > /wp-content/plugins/mobile-builder/templates/checkout/form-checkout.php
- > /wp-content/plugins/mobile-builder/product/partials/mobile-builder-product-display.php
- > /wp-content/plugins/mobile-builder/public/partials/mobile-builder-public-display.php
- 42× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/GraphNodes/GraphPage.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/Exceptions/FacebookAuthenticationException.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\HttpClients\\FacebookHttpClientInterface' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/HttpClients/FacebookGuzzleHttpClient.php:34
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\FacebookResponse' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/FacebookBatchResponse.php:35
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/Exceptions/FacebookOtherException.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\Url\\UrlDetectionInterface' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/Url/FacebookUrlDetectionHandler.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/Exceptions/FacebookServerException.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/GraphNodes/GraphObject.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PseudoRandomString\\PseudoRandomStringGeneratorInterface' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php:28
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/mobile-builder/vendor/facebook/graph-sdk/src/Facebook/GraphNodes/GraphUser.php:31
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=mobile-builder
- > Network (severe)
index.php/wp-json/mobile-builder/v1/settings - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: mobile builder, rnlab, woocommerce mobile app, react native, flutter...
mobile-builder/mobile-builder.php Passed 13 tests
The main file in "Mobile builder" v. 1.4.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
83 characters long description:
The most advanced drag & drop app builder. Create multi templates and app controls.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin10,311 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 116 | 2,326 | 7,922 | 9,054 |
Sass | 1 | 9 | 18 | 484 |
CSS | 1 | 11 | 4 | 386 |
JSON | 4 | 0 | 0 | 203 |
Markdown | 2 | 33 | 0 | 170 |
Ruby | 1 | 6 | 12 | 7 |
XML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 93 | |
▷ Abstract classes | 1 | 1.08% |
▷ Concrete classes | 92 | 98.92% |
▷ Final classes | 0 | 0.00% |
Methods | 704 | |
▷ Static methods | 45 | 6.39% |
▷ Public methods | 638 | 90.62% |
▷ Protected methods | 26 | 3.69% |
▷ Private methods | 40 | 5.68% |
Functions | 17 | |
▷ Named functions | 12 | 70.59% |
▷ Anonymous functions | 5 | 29.41% |
Constants | 28 | |
▷ Global constants | 3 | 10.71% |
▷ Class constants | 25 | 89.29% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin