Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.34MB] [CPU: ▲7.30ms] Passed 4 tests
Server-side resources used by AppPresser - Mobile App Framework
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.75 ▲1.29 | 50.82 ▲2.63 |
Dashboard /wp-admin | 4.67 ▲1.32 | 60.13 ▼2.43 |
Posts /wp-admin/edit.php | 4.73 ▲1.37 | 58.80 ▲13.42 |
Add New Post /wp-admin/post-new.php | 7.31 ▲1.42 | 111.51 ▲18.64 |
Media Library /wp-admin/upload.php | 4.60 ▲1.37 | 52.19 ▲15.56 |
Help / Support /wp-admin/admin.php?page=apppresser_sub_help_support | 4.60 | 49.18 |
Settings /wp-admin/admin.php?page=apppresser_settings | 4.66 | 59.62 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 4.70 | 46.04 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
appplog_filename |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AppPresser - Mobile App Framework: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,990 ▲228 | 13.38 ▼0.96 | 11.57 ▲9.62 | 39.72 ▼3.45 |
Dashboard /wp-admin | 2,279 ▲99 | 5.63 ▼0.01 | 92.21 ▼5.39 | 43.48 ▲1.15 |
Posts /wp-admin/edit.php | 2,196 ▲96 | 2.04 ▲0.10 | 41.90 ▲4.27 | 39.68 ▲3.97 |
Add New Post /wp-admin/post-new.php | 1,582 ▲56 | 23.57 ▲0.55 | 636.20 ▼90.38 | 50.81 ▼5.67 |
Media Library /wp-admin/upload.php | 1,489 ▲89 | 4.13 ▼0.09 | 99.20 ▼12.69 | 46.82 ▼2.54 |
Help / Support /wp-admin/admin.php?page=apppresser_sub_help_support | 1,141 | 3.47 | 57.80 | 32.56 |
Settings /wp-admin/admin.php?page=apppresser_settings | 1,666 | 3.52 | 68.35 | 28.43 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,049 | 2.05 | 23.98 | 30.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- appplog_filename
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AppPresser' not found in wp-content/plugins/apppresser/inc/AppPresser_Theme_Switcher.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/apppresser/inc/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/apppresser/inc/AppPresser_Logger.php:27
- > PHP Fatal error
Uncaught Error: Class 'AppPresser' not found in wp-content/plugins/apppresser/inc/AppPresser_Ajax_Extras.php:10
- > PHP Fatal error
Uncaught Error: Class 'AppPresser' not found in wp-content/plugins/apppresser/inc/AppPresser_Admin_Settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apppresser/inc/AppPresser_AppGeo.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apppresser/inc/AppPresser_Remote_Scripts.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apppresser/inc/AppPresser_WPAPI_Mods.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apppresser/inc/AppPresser_SystemInfo.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apppresser/inc/sample.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Screenshot #1 (AppPresser admin options page.) image required
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
apppresser/apppresser.php Passed 13 tests
The main file in "AppPresser - Mobile App Framework" v. 4.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
49 characters long description:
A mobile app development framework for WordPress.
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
Good job! No executable or dangerous file extensions detected7,938 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 1,928 | 3,186 | 6,283 |
CSS | 4 | 68 | 37 | 735 |
JavaScript | 9 | 125 | 192 | 470 |
PO File | 2 | 149 | 228 | 418 |
SVG | 1 | 0 | 1 | 32 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 38.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 379 | |
▷ Static methods | 66 | 17.41% |
▷ Public methods | 324 | 85.49% |
▷ Protected methods | 23 | 6.07% |
▷ Private methods | 32 | 8.44% |
Functions | 24 | |
▷ Named functions | 18 | 75.00% |
▷ Anonymous functions | 6 | 25.00% |
Constants | 12 | |
▷ Global constants | 2 | 16.67% |
▷ Class constants | 10 | 83.33% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.24MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
css/smoothness/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
css/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |