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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼24.67ms] Passed 4 tests
This is a short check of server-side resources used by WordPress To Android Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.85 ▲1.39 | 47.32 ▲10.77 |
Dashboard /wp-admin | 4.40 ▲1.05 | 34.43 ▼21.81 |
Posts /wp-admin/edit.php | 4.40 ▲1.04 | 33.35 ▼12.64 |
Add New Post /wp-admin/post-new.php | 4.40 ▼1.49 | 41.73 ▼64.49 |
Media Library /wp-admin/upload.php | 4.40 ▲1.17 | 34.56 ▲0.28 |
info About us /wp-admin/admin.php?page=wta_wp_to_android_plugin_aboutus_settings | 4.40 | 35.22 |
email Tell a friend /wp-admin/admin.php?page=wta_wp_to_android_plugin_tellfriend_settings | 4.40 | 29.85 |
wallpaper Splash /wp-admin/admin.php?page=wta_wp_to_android_plugin_splash_settings | 4.40 | 35.54 |
build Menues /wp-admin/admin.php?page=wta_wp_to_android_plugin_menues_settings | 4.40 | 32.39 |
tag_faces Icons /wp-admin/admin.php?page=wta_wp_to_android_plugin_icon_settings | 4.40 | 32.68 |
settings Main /wp-admin/admin.php?page=wta_wp_to_android_plugin_main_settings | 4.40 | 32.70 |
WP to Android Settings /wp-admin/admin.php?page=wta_wp_to_android_plugin_settings | 4.40 | 29.72 |
bubble_chart Navigation Header /wp-admin/admin.php?page=wta_wp_to_android_plugin_headernav_settings | 4.40 | 33.36 |
android Generate APK /wp-admin/admin.php?page=wta_wp_to_android_plugin_generate_settings | 4.40 | 32.74 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 16 new options
New WordPress options |
---|
wta_wp_to_android_posts_menu |
wta_wp_to_android_app_navigation_48 |
wta_wp_to_android_token |
theysaidso_admin_options |
widget_recent-posts |
wta_wp_to_android_galleries_menu |
wta_wp_to_android_plugin_version |
wta_wp_to_android_app_splash_48 |
wta_wp_to_android_pages_menu |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress To Android Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 13.40 ▼0.96 | 1.65 ▼0.10 | 38.20 ▼0.82 |
Dashboard /wp-admin | 2,306 ▲118 | 5.14 ▼0.76 | 112.05 ▲9.18 | 40.99 ▲3.20 |
Posts /wp-admin/edit.php | 2,174 ▲85 | 2.53 ▲0.50 | 38.52 ▲0.75 | 34.85 ▲1.09 |
Add New Post /wp-admin/post-new.php | 1,348 ▼171 | 15.67 ▼7.41 | 291.48 ▼356.07 | 16.65 ▼37.82 |
Media Library /wp-admin/upload.php | 1,492 ▲101 | 4.51 ▲0.36 | 109.29 ▲6.45 | 57.14 ▲12.12 |
info About us /wp-admin/admin.php?page=wta_wp_to_android_plugin_aboutus_settings | 1,091 | 1.93 | 29.25 | 29.05 |
email Tell a friend /wp-admin/admin.php?page=wta_wp_to_android_plugin_tellfriend_settings | 913 | 1.93 | 28.00 | 28.81 |
wallpaper Splash /wp-admin/admin.php?page=wta_wp_to_android_plugin_splash_settings | 923 | 1.93 | 29.13 | 26.12 |
build Menues /wp-admin/admin.php?page=wta_wp_to_android_plugin_menues_settings | 946 | 1.94 | 29.78 | 27.75 |
tag_faces Icons /wp-admin/admin.php?page=wta_wp_to_android_plugin_icon_settings | 926 | 1.92 | 37.32 | 26.92 |
settings Main /wp-admin/admin.php?page=wta_wp_to_android_plugin_main_settings | 1,848 | 3.25 | 70.41 | 65.67 |
WP to Android Settings /wp-admin/admin.php?page=wta_wp_to_android_plugin_settings | 1,088 | 2.06 | 28.24 | 28.05 |
bubble_chart Navigation Header /wp-admin/admin.php?page=wta_wp_to_android_plugin_headernav_settings | 926 | 1.93 | 28.72 | 28.22 |
android Generate APK /wp-admin/admin.php?page=wta_wp_to_android_plugin_generate_settings | 982 | 2.10 | 33.69 | 27.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_deregister_script was called incorrectly. Do not deregister the jquery script in the administration area. To target the front-end theme, use the wp_enqueue_scripts hook. Please see Debugging in WordPress for more information. (This message was added in version 3.6.0.)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wta_wp_to_android_plugin_generate_settings
- > User notice in wp-includes/functions.php+5905
Function wp_deregister_script was called incorrectly. Do not deregister the jquery script in the administration area. To target the front-end theme, use the wp_enqueue_scripts hook. Please see Debugging in WordPress for more information. (This message was added in version 3.6.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wptoandroid/wta-wp-to-android-plugin-admin-aboutus-settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 72 tag instead of maximum 10
wptoandroid/plugin.php 85% from 13 tests
This is the main PHP file of "WordPress To Android Plugin" version 2.0-beta12..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wptoandroid.php" instead of "plugin.php")
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "2.0-beta12...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin16,623 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 1,441 | 1,916 | 7,582 |
CSS | 6 | 937 | 5,306 | 6,625 |
JavaScript | 4 | 55 | 1,728 | 2,284 |
HTML | 1 | 4 | 4 | 113 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 78.92 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 295.00 |
Average method complexity | 5.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 228 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 175 | 76.75% |
▷ Protected methods | 52 | 22.81% |
▷ Private methods | 1 | 0.44% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ios-status-bar.png | 8.06KB | 4.00KB | ▼ 50.42% |