Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.69ms] Passed 4 tests
This is a short check of server-side resources used by Appmaker WP - Convert WordPress to Native Android & iOS App
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 53.06 ▲9.52 |
Dashboard /wp-admin | 3.39 ▲0.04 | 47.25 ▼17.76 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.44 ▼2.12 |
Add New Post /wp-admin/post-new.php | 7.03 ▲1.14 | 105.92 ▲5.62 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.05 ▲3.51 |
Appmaker WP Settings /wp-admin/options-general.php?page=appmaker-wp-admin | 3.29 | 35.06 |
Server storage [IO: ▲5.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Appmaker WP - Convert WordPress to Native Android & iOS App
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.31 ▼0.27 | 1.82 ▼0.00 | 38.29 ▼4.90 |
Dashboard /wp-admin | 2,214 ▲37 | 5.58 ▼0.08 | 89.06 ▼4.69 | 77.25 ▲33.10 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 2.10 ▲0.09 | 36.74 ▼2.84 | 37.78 ▼1.17 |
Add New Post /wp-admin/post-new.php | 1,617 ▲86 | 22.30 ▼0.55 | 684.37 ▲61.27 | 51.14 ▼21.97 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.14 ▼0.08 | 105.08 ▼12.05 | 79.06 ▲33.11 |
Appmaker WP Settings /wp-admin/options-general.php?page=appmaker-wp-admin | 1,014 | 2.04 | 25.23 | 54.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/appmaker-wp-mobile-app-manager/lib/class-appmaker-testimonial.php
- > /wp-content/plugins/appmaker-wp-mobile-app-manager/lib/class-appmaker-casestudy.php
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/class-appmaker-wp-rest-legacy-posts-controller.php:3
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-nav-controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-posts-controller.php:3
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-frontend-controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/class-appmaker-wp-rest-terms-controller.php:6
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/class-appmaker-wp-rest-posts-controller.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/class-appmaker-configure.php:7
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-terms-controller.php:6
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wc-rest-backend-settings-controller.php:6
- > PHP Fatal error
Uncaught Error: Class 'APPMAKER_WP_REST_Controller' not found in wp-content/plugins/appmaker-wp-mobile-app-manager/lib/endpoints/appmaker/class-appmaker-wp-rest-backend-media-controller.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
appmaker-wp-mobile-app-manager/plugin.php 92% from 13 tests
The primary PHP file in "Appmaker WP - Convert WordPress to Native Android & iOS App" version 0.4.3 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("appmaker-wp-mobile-app-manager.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin48,977 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 10,858 | 21,570 | 48,977 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 45.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 2 | 10.00% |
▷ Concrete classes | 18 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 245 | |
▷ Static methods | 37 | 15.10% |
▷ Public methods | 183 | 74.69% |
▷ Protected methods | 60 | 24.49% |
▷ Private methods | 2 | 0.82% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
5 PNG files occupy 1.35MB with 0.85MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 21.32KB | 4.11KB | ▼ 80.73% |
assets/banner-772x250.png | 80.00KB | 16.72KB | ▼ 79.10% |
assets/icon-256x256.png | 34.98KB | 10.96KB | ▼ 68.66% |
assets/screenshot-5.png | 612.50KB | 347.75KB | ▼ 43.22% |
assets/screenshot-4.png | 635.58KB | 357.77KB | ▼ 43.71% |