Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼137.48ms] Passed 4 tests
This is a short check of server-side resources used by Blanked Template
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▲0.21 | 37.48 ▲1.32 |
Dashboard /wp-admin | 3.38 ▲0.33 | 49.38 ▲1.70 |
Posts /wp-admin/edit.php | 3.43 ▲0.32 | 51.64 ▲9.19 |
Add New Post /wp-admin/post-new.php | 5.68 ▲0.24 | 100.37 ▼553.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.26 | 35.37 ▲0.45 |
Blanked Template /wp-admin/options-general.php?page=blanked_setting | 3.27 | 41.78 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Blanked Template: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲136 | 15.85 ▲0.48 | 11.02 ▼0.48 | 46.41 ▼4.80 |
Dashboard /wp-admin | 2,972 ▲35 | 5.85 ▼0.09 | 138.73 ▼14.15 | 109.29 ▲1.77 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.70 ▼0.02 | 67.38 ▼7.54 | 94.33 ▲6.90 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.28 ▼0.45 | 418.93 ▲12.09 | 116.86 ▼1.85 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▼0.05 | 166.38 ▲7.12 | 116.15 ▼0.37 |
Blanked Template /wp-admin/options-general.php?page=blanked_setting | 1,658 | 4.15 | 92.59 | 81.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/blanked/blanked-template.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: blank template, page template
blanked/blanked.php Passed 13 tests
"Blanked Template" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
39 characters long description:
Add blank page template for all themes.
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
Everything looks great! No dangerous files found in this plugin1,142 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 243 | 651 | 1,142 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 173.00 |
▷ Minimum class complexity | 173.00 |
▷ Maximum class complexity | 173.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 66.67% |
▷ Protected methods | 16 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 were not PNG files found in your plugin