Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/appypie-web-to-app/appypie-woocommerce-app-maker.php+79
Undefined variable: permission
Server metrics [RAM: ▼1.57MB] [CPU: ▼50.62ms] Passed 4 tests
Server-side resources used by Appypie Web to Mobile App
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.42 ▼1.05 | 5.78 ▼35.21 |
Dashboard /wp-admin | 2.44 ▼0.87 | 6.46 ▼41.87 |
Posts /wp-admin/edit.php | 2.44 ▼0.92 | 9.70 ▼38.38 |
Add New Post /wp-admin/post-new.php | 2.44 ▼3.45 | 6.74 ▼87.03 |
Media Library /wp-admin/upload.php | 2.44 ▼0.79 | 5.97 ▼27.86 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 249 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
mobilepay |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Appypie Web to Mobile App
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.42 ▲0.15 | 1.69 ▲0.01 | 41.50 ▼1.81 |
Dashboard /wp-admin | 2,231 ▲51 | 5.72 ▲0.03 | 97.31 ▲6.73 | 49.63 ▲9.70 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.26 ▲0.29 | 42.09 ▲4.48 | 37.65 ▲5.86 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 18.79 ▼4.23 | 609.83 ▼50.63 | 87.00 ▲26.91 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.41 ▲0.23 | 98.07 ▲0.48 | 48.56 ▲4.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
- > Notice in wp-content/plugins/appypie-web-to-app/appypie-woocommerce-app-maker.php+79
Undefined variable: permission
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- mobilepay
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(GeoIP/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/appypie-web-to-app/list/CountryIP.php on line 2
- > PHP Warning
include_once(): Failed opening 'GeoIP/vendor/autoload.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/appypie-web-to-app/list/CountryIP.php on line 2
- > PHP Warning
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 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (WordPress plugin settings page), #2 (App Created with Appy Pie), #3 (Mobile App Preview)
appypie-web-to-app/appypie-woocommerce-app-maker.php 85% from 13 tests
The main file in "Appypie Web to Mobile App" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("appypie-web-to-app.php" instead of "appypie-woocommerce-app-maker.php")
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected23,370 lines of code in 223 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 201 | 0 | 0 | 17,624 |
CSS | 7 | 452 | 46 | 3,621 |
PHP | 3 | 73 | 78 | 1,912 |
SVG | 9 | 0 | 0 | 209 |
JavaScript | 3 | 0 | 9 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 PNG files occupy 0.20MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
list/images/app_view.png | 0.52KB | 0.35KB | ▼ 32.40% |
list/images/app_bg_setting.png | 0.62KB | 0.38KB | ▼ 39.43% |
list/images/thanks_bg.png | 3.25KB | 1.91KB | ▼ 41.26% |
list/images/secured.png | 4.12KB | 2.64KB | ▼ 35.95% |
list/images/visa.png | 3.43KB | 2.13KB | ▼ 37.73% |