Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.22MB] [CPU: ▼141.97ms] Passed 4 tests
This is a short check of server-side resources used by Change title
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.79 ▼0.93 | 6.96 ▼15.26 |
Dashboard /wp-admin | 3.09 ▲0.03 | 53.95 ▲8.50 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 46.15 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 92.77 ▼557.06 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.74 ▲4.02 |
Change Title /wp-admin/options-general.php?page=change_title_page | 3.00 | 29.80 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Change title
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.89 ▲0.33 | 10.11 ▲0.37 | 46.61 ▼9.26 |
Dashboard /wp-admin | 2,978 ▲44 | 6.10 ▲0.11 | 141.13 ▼10.43 | 107.36 ▲2.82 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▼0.02 | 65.67 ▲0.21 | 81.85 ▼16.01 |
Add New Post /wp-admin/post-new.php | 1,607 ▼2,126 | 18.79 ▲1.23 | 380.17 ▼81.48 | 107.96 ▲5.05 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▲0.02 | 150.69 ▼1.57 | 113.16 ▼8.07 |
Change Title /wp-admin/options-general.php?page=change_title_page | 1,114 | 2.09 | 55.75 | 78.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/change-title/change-title.php:14
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
change-title/change-title.php 92% from 13 tests
Analyzing the main PHP file in "Change title" version 2.4.1
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected237 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 41 | 118 |
CSS | 1 | 9 | 0 | 57 |
PO File | 1 | 10 | 13 | 52 |
JavaScript | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected