Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/wpapper/lib/common/wpapperjson.class.php+46
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼0.82MB] [CPU: ▼47.36ms] Passed 4 tests
This is a short check of server-side resources used by WpApper - Create native mobile apps(Android and iOS)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.11 ▼0.35 | 11.82 ▼28.14 |
Dashboard /wp-admin | 3.21 ▼0.10 | 13.78 ▼35.60 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 14.12 ▼33.84 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 14.31 ▼91.84 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 15.56 ▼15.77 |
WpApper /wp-admin/admin.php?page=wpapper_admin | 3.21 | 15.38 |
Send Push Msg /wp-admin/admin.php?page=display_wpapper_admin_send_notification_page | 3.21 | 15.52 |
App Theme Settings /wp-admin/admin.php?page=display_wpapper_admin_style_page | 3.21 | 14.29 |
Notification Settings /wp-admin/admin.php?page=display_wpapper_admin_fcm_settings_page | 3.21 | 13.37 |
Server storage [IO: ▲6.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 93 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_fcm_users |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WpApper - Create native mobile apps(Android and iOS): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 13.29 ▼1.09 | 1.70 ▼0.03 | 37.67 ▲0.56 |
Dashboard /wp-admin | 2,265 ▲74 | 5.08 ▲0.16 | 98.57 ▼5.96 | 83.02 ▲40.61 |
Posts /wp-admin/edit.php | 2,152 ▲63 | 2.26 ▲0.26 | 36.77 ▼9.28 | 35.60 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,717 ▲173 | 22.43 ▲4.38 | 641.21 ▲7.91 | 40.85 ▼20.26 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.26 ▲0.05 | 104.34 ▲7.97 | 84.84 ▲41.36 |
WpApper /wp-admin/admin.php?page=wpapper_admin | 1,015 | 2.03 | 24.92 | 28.71 |
Send Push Msg /wp-admin/admin.php?page=display_wpapper_admin_send_notification_page | 875 | 1.85 | 25.96 | 24.70 |
App Theme Settings /wp-admin/admin.php?page=display_wpapper_admin_style_page | 981 | 1.88 | 27.95 | 29.89 |
Notification Settings /wp-admin/admin.php?page=display_wpapper_admin_fcm_settings_page | 899 | 1.85 | 24.40 | 22.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wpapper/lib/common/wpapperjson.class.php+46
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_fcm_users
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 136 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_fcm_settings_page
- > Deprecated in wp-content/plugins/wpapper/lib/common/wpapperjson.class.php+368
Array and string offset access syntax with curly braces is deprecated
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_fcm_settings_page
- > Deprecated in wp-content/plugins/wpapper/lib/common/template.inc.php+65
Methods with the same name as their class will not be constructors in a future version of PHP; Template has a deprecated constructor
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_fcm_settings_page
- > Notice in wp-content/plugins/wpapper/fcm/options.php+54
Trying to access array offset on value of type bool
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_style_page
- > Notice in wp-content/plugins/wpapper/admin/admin_model.class.php+122
Trying to access array offset on value of type null
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_style_page
- > User deprecated in wp-includes/functions.php+5737
Function get_bloginfo was called with an argument that is deprecated since version 2.2.0! The siteurl option is deprecated for the family of bloginfo() functions. Use the url option instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_style_page
- > Deprecated in wp-content/plugins/wpapper/lib/common/template.inc.php+531
The each() function is deprecated. This message will be suppressed on further calls
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_fcm_settings_page
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=display_wpapper_admin_fcm_settings_page
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpapper/lib/captcha/example-form.php
- > /wp-content/plugins/wpapper/lib/captcha/resources/tools/dictionary-import/importwords.php
- 23× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpapper/lib/json/class-wp-json-server.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WP_JSON_Meta' not found in wp-content/plugins/wpapper/lib/json/class-wp-json-meta-posts.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/admin.php): failed to open stream: No such file or directory in wp-content/plugins/wpapper/lib/json/class-wp-json-server.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wpapper/lib/captcha/resources/tools/dictionary-import/importwords.php on line 23
- > PHP Fatal error
Uncaught Error: Class 'WP_JSON_Posts' not found in wp-content/plugins/wpapper/lib/json/class-wp-json-media.php:3
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wpapper/api/WPAPPER_API_VERSION/admin_api.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpapper/admin/wpapper-admin.class.php on line 12
- > PHP Warning
require_once(ABSPATHwp-admin/includes/admin.php): failed to open stream: No such file or directory in wp-content/plugins/wpapper/lib/json/class-wp-json-server.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function wpapper_lan() in wp-content/plugins/wpapper/wpapper.php:36
- > PHP Notice
Undefined variable: argc in wp-content/plugins/wpapper/lib/captcha/resources/tools/dictionary-import/importwords.php on line 22
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpapper/lib/json/class-wp-json-server.php on line 10
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
wpapper/wpapper.php Passed 13 tests
The main PHP file in "WpApper - Create native mobile apps(Android and iOS)" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
Create native app(Android & iOS). The wordpress plugin for Wpapper
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 detected12,955 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 1,438 | 96,811 | 7,076 |
CSS | 3 | 2,929 | 13 | 3,111 |
JavaScript | 10 | 120 | 129 | 1,223 |
Markdown | 2 | 376 | 0 | 1,185 |
HTML | 3 | 31 | 19 | 277 |
PO File | 1 | 37 | 40 | 83 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 38.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 2 | 7.14% |
▷ Concrete classes | 26 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 360 | |
▷ Static methods | 71 | 19.72% |
▷ Public methods | 299 | 83.06% |
▷ Protected methods | 61 | 16.94% |
▷ Private methods | 0 | 0.00% |
Functions | 78 | |
▷ Named functions | 78 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 36 | |
▷ Global constants | 18 | 50.00% |
▷ Class constants | 18 | 50.00% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 compressed PNG files occupy 0.90MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/preview.png | 23.89KB | 25.47KB | 0.00% |
admin/img/icon-android.png | 0.40KB | 0.41KB | 0.00% |
admin/img/list.png | 143.56KB | 40.88KB | ▼ 71.52% |
admin/img/logo.png | 2.27KB | 2.30KB | 0.00% |
admin/img/phone.png | 9.99KB | 10.25KB | 0.00% |