Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼284.51ms] Passed 4 tests
Server-side resources used by Mobile Address Bar Changer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▼0.04 | 51.64 ▲5.07 |
Dashboard /wp-admin | 3.42 ▲0.01 | 37.36 ▲2.34 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.88 ▲0.03 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 102.17 ▼1,136.45 |
Media Library /wp-admin/upload.php | 3.31 ▲0.00 | 23.21 ▼3.95 |
Mobile Address Bar Chnage /wp-admin/options-general.php?page=mobile_address_bar_chnage | 3.25 | 22.19 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Mobile Address Bar Changer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,811 ▲85 | 16.17 ▲0.87 | 6.07 ▼0.26 | 2.57 ▲0.38 |
Dashboard /wp-admin | 2,914 ▲53 | 6.95 ▲0.81 | 121.53 ▼14.85 | 157.43 ▼3.11 |
Posts /wp-admin/edit.php | 2,716 ▲31 | 3.53 ▲0.31 | 65.01 ▲1.18 | 151.50 ▲8.34 |
Add New Post /wp-admin/post-new.php | 1,683 ▲22 | 17.68 ▲1.21 | 370.99 ▼62.43 | 168.41 ▲13.69 |
Media Library /wp-admin/upload.php | 1,718 ▲20 | 6.01 ▲0.47 | 115.56 ▼35.12 | 184.69 ▼10.80 |
Mobile Address Bar Chnage /wp-admin/options-general.php?page=mobile_address_bar_chnage | 1,219 | 3.07 | 69.32 | 125.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mobile_address_bar_chnage
- > Notice in wp-content/plugins/mobile-address-bar-changer/mobile-address-bar-changer.php+81
Undefined variable: msg
- > GET request to /wp-admin/options-general.php?page=mobile_address_bar_chnage
- > Notice in wp-content/plugins/mobile-address-bar-changer/mobile-address-bar-changer.php+96
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobile-address-bar-changer/mobile-address-bar-changer.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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 need to be fixed:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
mobile-address-bar-changer/mobile-address-bar-changer.php Passed 13 tests
Analyzing the main PHP file in "Mobile Address Bar Changer" version 3.0
82 characters long description:
A WordPress plugin to change Mobile Browser Address Bar Changer on Android Mobile.
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
Everything looks great! No dangerous files found in this plugin71 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 33 | 66 |
JavaScript | 1 | 0 | 1 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin