Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.08ms] Passed 4 tests
A check of server-side resources used by WP to Android App
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.62 ▲3.76 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.60 ▲1.64 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 51.91 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.25 ▼7.89 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.17 ▲0.48 |
Help & About /wp-admin/admin.php?page=wptonativeandroid-help | 3.25 | 39.56 |
Build Android App /wp-admin/admin.php?page=wptonativeandroid | 3.22 | 34.84 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP to Android App
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,976 ▲215 | 14.74 ▲0.39 | 2.28 ▲0.24 | 43.97 ▼1.14 |
Dashboard /wp-admin | 2,354 ▲174 | 6.15 ▲0.53 | 114.75 ▲24.50 | 39.41 ▼3.08 |
Posts /wp-admin/edit.php | 2,285 ▲185 | 3.31 ▲1.33 | 47.64 ▲8.11 | 35.35 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.08 ▲0.16 | 632.28 ▲30.77 | 37.94 ▼26.12 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.12 ▼0.07 | 79.68 ▼36.51 | 41.48 ▼2.70 |
Help & About /wp-admin/admin.php?page=wptonativeandroid-help | 1,014 | 2.96 | 41.28 | 44.04 |
Build Android App /wp-admin/admin.php?page=wptonativeandroid | 1,244 | 3.31 | 39.59 | 70.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wptonativeandroid
- > Notice in wp-content/plugins/wp-to-android-app/includes/settings.php+168
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-to-android-app/includes/init.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-to-android-app/wptonativeandroid.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-to-android-app/includes/settings.php:814
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wptonativeandroid
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wptonativeandroid 158 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-to-android-app ===
)
wp-to-android-app/wptonativeandroid.php 77% from 13 tests
"WP to Android App" version 1.9.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-to-android-app.php" instead of "wptonativeandroid.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
No dangerous file extensions were detected657 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 209 | 30 | 636 |
JavaScript | 1 | 1 | 0 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.16MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 77.81KB | 45.45KB | ▼ 41.59% |
includes/images/slider.png | 2.69KB | 1.96KB | ▼ 27.17% |
includes/images/list.png | 5.64KB | 3.68KB | ▼ 34.76% |
images/primary_logo_gray.png | 73.57KB | 17.67KB | ▼ 75.98% |