Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲3.05ms] Passed 4 tests
An overview of server-side resources used by Android 5.0 Lollipop Status Bar Customiser
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 54.46 ▲13.36 |
Dashboard /wp-admin | 3.38 ▲0.07 | 52.56 ▲4.19 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 57.75 ▲5.25 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 98.48 ▼0.94 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 40.07 ▲3.71 |
Android Status Bar /wp-admin/themes.php?page=wn-android-statusbar | 3.41 | 35.50 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Android 5.0 Lollipop Status Bar Customiser
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲172 | 14.78 ▲1.55 | 2.11 ▼2.17 | 38.35 ▼0.57 |
Dashboard /wp-admin | 2,346 ▲146 | 6.44 ▲0.62 | 129.04 ▲22.16 | 40.79 ▲0.38 |
Posts /wp-admin/edit.php | 2,258 ▲169 | 3.46 ▲1.42 | 61.25 ▲24.22 | 34.96 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,538 ▲1 | 23.34 ▲0.26 | 600.17 ▼41.34 | 35.97 ▼18.37 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.22 ▼0.18 | 80.15 ▼23.76 | 42.41 ▼6.19 |
Android Status Bar /wp-admin/themes.php?page=wn-android-statusbar | 1,041 | 3.00 | 39.30 | 28.94 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/themes.php?page=wn-android-statusbar
- > 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/themes.php?page=wn-android-statusbar
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/android-50-lollipop-status-bar-customiser/android-5.0-status-bar.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== android-50-lollipop-status-bar-customiser ===
)
android-50-lollipop-status-bar-customiser/android-5.0-status-bar.php 92% from 13 tests
The main PHP script in "Android 5.0 Lollipop Status Bar Customiser" version 2.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("android-50-lollipop-status-bar-customiser.php" instead of "android-5.0-status-bar.php")
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
No dangerous file extensions were detected218 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 64 | 198 |
JavaScript | 1 | 8 | 9 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin