Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲4.68MB] [CPU: ▲24.74ms] Passed 4 tests
Server-side resources used by Apperr - Android and iOS App builder for WooCommerce and WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.52 ▲5.06 | 58.32 ▲18.16 |
Dashboard /wp-admin | 8.54 ▲5.24 | 71.92 ▲26.38 |
Posts /wp-admin/edit.php | 8.54 ▲5.18 | 75.43 ▲28.64 |
Add New Post /wp-admin/post-new.php | 9.15 ▲3.26 | 112.28 ▲25.78 |
Media Library /wp-admin/upload.php | 8.54 ▲5.31 | 64.61 ▲31.64 |
Add New /wp-admin/post-new.php?post_type=apperr_address | 8.54 | 67.26 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.54 | 59.86 |
User Addresses /wp-admin/edit.php?post_type=apperr_address | 8.54 | 62.27 |
Server storage [IO: ▲7.55MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 193 new files
Database: no new tables, 13 new options
New WordPress options |
---|
fs_active_plugins |
fs_gdpr |
fs_accounts |
fs_debug_mode |
widget_theysaidso_widget |
apperr_options_init |
baseplugin_installed |
baseplugin_version |
theysaidso_admin_options |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Apperr - Android and iOS App builder for WooCommerce and WordPress: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,029 ▲283 | 14.99 ▲0.64 | 1.86 ▲0.04 | 27.31 ▼18.57 |
Dashboard /wp-admin | 2,410 ▲222 | 6.41 ▲1.32 | 140.27 ▲40.31 | 47.00 ▲5.29 |
Posts /wp-admin/edit.php | 2,313 ▲224 | 3.33 ▲1.31 | 49.40 ▲8.24 | 32.02 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,572 ▲44 | 22.88 ▼0.32 | 625.30 ▼0.41 | 35.74 ▼16.17 |
Media Library /wp-admin/upload.php | 1,452 ▲64 | 4.18 ▼0.02 | 80.84 ▼14.12 | 43.39 ▼1.91 |
Add New /wp-admin/post-new.php?post_type=apperr_address | 1,693 | 3.99 | 67.65 | 34.44 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,273 | 3.17 | 37.57 | 26.65 |
User Addresses /wp-admin/edit.php?post_type=apperr_address | 1,283 | 3.38 | 43.23 | 29.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/apperr/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 13 options in the database
- baseplugin_installed
- apperr_options_init
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- fs_debug_mode
- fs_gdpr
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/apperr/includes/Api/ApperrService.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/apperr/includes/Api.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/apperr/includes/Api/Example.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Donate link: Invalid URI found ("- https://paypal.me/prasadkirpekar")
apperr/apperr.php 85% from 13 tests
"Apperr - Android and iOS App builder for WooCommerce and WordPress" version 0.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin31,550 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 116 | 7,477 | 16,362 | 31,139 |
JavaScript | 8 | 34 | 59 | 199 |
JSON | 1 | 9 | 0 | 194 |
CSS | 12 | 0 | 0 | 15 |
LESS | 1 | 0 | 0 | 3 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 76.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 2 | 3.70% |
▷ Concrete classes | 52 | 96.30% |
▷ Final classes | 1 | 1.92% |
Methods | 1,204 | |
▷ Static methods | 174 | 14.45% |
▷ Public methods | 861 | 71.51% |
▷ Protected methods | 15 | 1.25% |
▷ Private methods | 328 | 27.24% |
Functions | 107 | |
▷ Named functions | 94 | 87.85% |
▷ Anonymous functions | 13 | 12.15% |
Constants | 130 | |
▷ Global constants | 105 | 80.77% |
▷ Class constants | 25 | 19.23% |
▷ 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
14 PNG files occupy 0.36MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/components/postgrid.png | 39.61KB | 16.16KB | ▼ 59.19% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/img/components/emptyspace.png | 11.48KB | 4.28KB | ▼ 62.75% |
assets/img/template_il.png | 32.21KB | 15.69KB | ▼ 51.29% |
assets/img/settings_il.png | 23.17KB | 10.58KB | ▼ 54.31% |