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: ▼0.31MB] [CPU: ▼15.62ms] Passed 4 tests
This is a short check of server-side resources used by WP Droid
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 38.52 ▼1.50 |
Dashboard /wp-admin | 3.67 ▲0.37 | 47.88 ▼1.09 |
Posts /wp-admin/edit.php | 3.78 ▲0.43 | 51.94 ▼1.55 |
Add New Post /wp-admin/post-new.php | 3.54 ▼2.34 | 40.88 ▼58.33 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 39.75 ▲6.30 |
Customizer /wp-admin/admin.php?page=wp-droid-api-customizer | 3.56 | 35.48 |
App CSS /wp-admin/admin.php?page=wp-droid-app-css | 3.56 | 33.66 |
Push Notifications /wp-admin/admin.php?page=wp-droid-push-notifications | 3.56 | 32.45 |
API Keys /wp-admin/admin.php?page=wp-droid-api-keys | 3.56 | 36.74 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Droid: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.28 ▼1.09 | 1.86 ▲0.02 | 41.12 ▼3.57 |
Dashboard /wp-admin | 2,240 ▲49 | 4.84 ▼0.05 | 107.21 ▼10.25 | 41.29 ▼6.64 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.02 ▼0.02 | 47.59 ▲11.34 | 36.18 ▼4.12 |
Add New Post /wp-admin/post-new.php | 1,554 ▲11 | 18.52 ▲0.15 | 604.45 ▼41.08 | 61.83 ▲5.74 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.21 ▼0.05 | 95.05 ▼5.81 | 41.72 ▼1.42 |
Customizer /wp-admin/admin.php?page=wp-droid-api-customizer | 793 | 2.06 | 23.56 | 39.72 |
App CSS /wp-admin/admin.php?page=wp-droid-app-css | 793 | 2.06 | 24.32 | 34.76 |
Push Notifications /wp-admin/admin.php?page=wp-droid-push-notifications | 793 | 2.06 | 23.25 | 27.52 |
API Keys /wp-admin/admin.php?page=wp-droid-api-keys | 1,080 | 1.76 | 22.74 | 47.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-droid/includes/helpers/sidebar-common.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wp-droid/includes/options/customizer-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/wp-droid/includes/default-values.php:230
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-droid/includes/api/wp-droid-api.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-droid/includes/helpers/post-meta-box.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-droid/includes/helpers/license-details.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-droid/includes/menus.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function menu_page_url() in wp-content/plugins/wp-droid/includes/helpers/invalid-license-layout.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wp-droid/includes/options/api-settings-options.php:3
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: wp droid, android app, wordpress to android, mobile app
wp-droid/wp-droid.php Passed 13 tests
"WP Droid" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
61 characters long description:
Customize your Android native mobile app built with WP Droid.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,148 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 1,284 | 269 | 3,351 |
CSS | 2 | 94 | 12 | 536 |
JavaScript | 1 | 31 | 6 | 261 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin