Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.90MB] [CPU: ▲18.94ms] Passed 4 tests
This is a short check of server-side resources used by WPMobile.App — Android and iOS Mobile Application
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.01 ▲1.55 | 62.29 ▲23.14 |
Dashboard /wp-admin | 6.65 ▲3.31 | 65.19 ▲5.69 |
Posts /wp-admin/edit.php | 6.77 ▲3.42 | 70.37 ▲24.49 |
Add New Post /wp-admin/post-new.php | 9.29 ▲3.41 | 120.69 ▲22.46 |
Media Library /wp-admin/upload.php | 6.57 ▲3.34 | 55.47 ▲24.46 |
Preview /wp-admin/admin.php?page=wpappninja_preview | 6.64 | 64.08 |
Publication /wp-admin/admin.php?page=wpappninja_publish | 6.63 | 68.08 |
Notifications /wp-admin/admin.php?page=wpappninja_push | 6.64 | 68.36 |
Statistics /wp-admin/admin.php?page=wpappninja_stats | 6.64 | 57.07 |
QR Code /wp-admin/admin.php?page=wpappninja_qrcode | 6.64 | 65.29 |
Theme /wp-admin/admin.php?page=wpappninja_theme | 6.64 | 62.31 |
Promote /wp-admin/admin.php?page=wpappninja_promote | 6.64 | 60.21 |
WPMobile.App /wp-admin/admin.php?page=wpappninja_home | 6.64 | 53.59 |
Settings /wp-admin/admin.php?page=wpappninja | 6.69 | 64.37 |
Advertising /wp-admin/admin.php?page=wpappninja_adserver | 6.64 | 73.69 |
Server storage [IO: ▲9.64MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 947 new files
Database: 9 new tables, 17 new options
New tables |
---|
wp_wpappninja_ids |
wp_wpappninja_push |
wp_wpappninja_push_perso |
wp_wpappninja_home_perso |
wp_wpappninja_installs |
wp_wpappninja_qrcode |
wp_wpappninja_adserver |
wp_wpappninja_stats |
wp_wpappninja_stats_users |
New WordPress options |
---|
wpmobile_enable_new_fcm |
wpappninja_need_update |
wpappninja_follow_tuto |
widget_recent-posts |
theysaidso_admin_options |
wpappninja |
theme_mods_wpappninja-full |
db_upgraded |
wpappninja_primary |
wpappninja_start_premium_feature |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WPMobile.App — Android and iOS Mobile Application
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲177 | 14.22 ▲0.09 | 1.88 ▲0.24 | 42.75 ▲2.11 |
Dashboard /wp-admin | 2,259 ▲82 | 5.61 ▲0.06 | 88.53 ▼9.57 | 46.18 ▲7.87 |
Posts /wp-admin/edit.php | 2,161 ▲58 | 2.03 ▲0.09 | 39.96 ▼1.13 | 36.54 ▲0.36 |
Add New Post /wp-admin/post-new.php | 6,266 ▲4,740 | 26.02 ▲2.75 | 893.97 ▲291.06 | 56.38 ▼4.68 |
Media Library /wp-admin/upload.php | 1,461 ▲61 | 4.21 ▲0.01 | 96.65 ▼6.77 | 42.47 ▼2.35 |
Preview /wp-admin/admin.php?page=wpappninja_preview | 1,795 | 5.75 | 102.15 | 125.11 |
Publication /wp-admin/admin.php?page=wpappninja_publish | 1,666 | 3.77 | 67.19 | 92.12 |
Notifications /wp-admin/admin.php?page=wpappninja_push | 2,526 | 7.75 | 178.64 | 107.75 |
Statistics /wp-admin/admin.php?page=wpappninja_stats | 1,781 | 5.33 | 126.26 | 86.33 |
QR Code /wp-admin/admin.php?page=wpappninja_qrcode | 1,785 | 7.36 | 152.82 | 37.31 |
Theme /wp-admin/admin.php?page=wpappninja_theme | 4,068 | 4.92 | 157.61 | 39.82 |
Promote /wp-admin/admin.php?page=wpappninja_promote | 1,253 | 3.41 | 64.10 | 40.33 |
WPMobile.App /wp-admin/admin.php?page=wpappninja_home | 1,349 | 4.17 | 56.40 | 94.09 |
Settings /wp-admin/admin.php?page=wpappninja | 10,256 | 7.35 | 179.27 | 281.00 |
Advertising /wp-admin/admin.php?page=wpappninja_adserver | 2,808 | 4.92 | 94.16 | 71.01 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- theme_mods_wpappninja-full
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- wpmobile_enable_new_fcm
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpappninja_stats
- > Notice in wp-content/plugins/wpappninja/inc/stats/display.php+215
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpappninja_stats
- > Notice in wp-content/plugins/wpappninja/inc/stats/display.php+215
Trying to get property 'sub' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpappninja_stats
- > Notice in wp-content/plugins/wpappninja/inc/stats/display.php+215
Trying to get property 'ios' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpappninja_home
- > Notice in wp-content/plugins/wpappninja/inc/admin/ui/home.php+123
Undefined variable: langiframe
- > GET request to /wp-admin/admin.php?page=wpappninja
- > Notice in wp-content/plugins/wpappninja/inc/admin/ui/options.php+1034
Undefined index: ios_background
- > GET request to /wp-admin/admin.php?page=wpappninja
- > Notice in wp-content/plugins/wpappninja/inc/admin/ui/options.php+1070
Undefined index: logo
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
- 85× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/wpappninja/inc/admin/enqueue.php
- > /wp-content/plugins/wpappninja/inc/3rd-party/wp-rocket.php
- > /wp-content/plugins/wpappninja/inc/functions/lang.php
- > /wp-content/plugins/wpappninja/inc/3rd-party/select2.php
- > /wp-content/plugins/wpappninja/inc/admin/sdkupdate.php
- > /wp-content/plugins/wpappninja/inc/api/read_enhanced.php
- > /wp-content/plugins/wpappninja/inc/admin/ui/preview.php
- > /wp-content/plugins/wpappninja/inc/admin/ui/auto.php
- > /wp-content/plugins/wpappninja/uninstall.php
- > /wp-content/plugins/wpappninja/inc/3rd-party/hide-errors.php
- 27× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: menu_current in wp-content/plugins/wpappninja/inc/admin/ui/submenu.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wpappninja/themes/wpappninja-full/index.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/wpappninja/themes/wpappninja-full/comments.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function dynamic_sidebar() in wp-content/plugins/wpappninja/themes/wpappninja/footer.php:3
- > PHP Notice
Undefined variable: menu_current in wp-content/plugins/wpappninja/inc/admin/ui/submenu.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wpappninja/themes/wpappninja/archive.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/wpappninja/themes/wpappninja-full/page.php:1
- > PHP Notice
Undefined variable: menu_current in wp-content/plugins/wpappninja/inc/admin/ui/submenu.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/wpappninja/themes/wpappninja-full/woocommerce.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wpappninja/themes/wpappninja/index.php:1
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wpappninja_stats
- > Console-api (warning) in unknown
https://code.highcharts.com/highcharts.js?ver=11.38 7:193 "Highcharts warning: Consider including the \"accessibility.js\" module to make your chart more usable for people with disabilities. Set the \"accessibility.enabled\" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module."
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: android app, mobile app, ios app
wpappninja/wpappninja.php Passed 13 tests
This is the main PHP file of "WPMobile.App — Android and iOS Mobile Application" version 11.38, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
84 characters long description:
Android and iOS mobile application for any WordPress website. Easy setup, free test.
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin121,281 lines of code in 566 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 3,327 | 1,862 | 38,681 |
CSS | 13 | 103 | 138 | 30,118 |
PO File | 18 | 12,523 | 18,010 | 28,117 |
PHP | 111 | 6,745 | 2,703 | 22,016 |
SVG | 405 | 0 | 43 | 2,348 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 131)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 116.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 7.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 131.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 10 | 8.85% |
▷ Public methods | 96 | 84.96% |
▷ Protected methods | 16 | 14.16% |
▷ Private methods | 1 | 0.88% |
Functions | 316 | |
▷ Named functions | 309 | 97.78% |
▷ Anonymous functions | 7 | 2.22% |
Constants | 80 | |
▷ Global constants | 78 | 97.50% |
▷ Class constants | 2 | 2.50% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
93 PNG files occupy 0.20MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/download.png | 0.38KB | 0.38KB | 0.00% |
assets/images/icons/theme.png | 0.66KB | 0.43KB | ▼ 35.26% |
assets/images/icons/coeur.png | 0.47KB | 0.47KB | 0.00% |
assets/images/icons/beach.png | 0.95KB | 0.73KB | ▼ 22.47% |
assets/images/os/ios.png | 1.23KB | 0.47KB | ▼ 61.84% |