Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.63ms] Passed 4 tests
This is a short check of server-side resources used by byakurai template filter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.79 ▼14.15 |
Dashboard /wp-admin | 3.37 ▲0.06 | 48.67 ▼3.57 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.68 ▲3.80 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.21 ▲2.44 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.76 ▲0.77 |
byakurai template filter option /wp-admin/options-general.php?page=byakurai_template-filter | 3.25 | 29.42 |
Server storage [IO: ▲0.24MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
byakuraitmp_template_ids |
Browser metrics Passed 4 tests
An overview of browser requirements for byakurai template filter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.47 ▲0.09 | 1.56 ▼0.60 | 38.39 ▼11.86 |
Dashboard /wp-admin | 2,222 ▲31 | 5.86 ▲0.04 | 115.54 ▲13.07 | 44.12 ▼5.03 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▼0.01 | 34.27 ▼2.66 | 36.33 ▲4.12 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.34 ▲0.38 | 653.60 ▼34.01 | 57.17 ▲2.93 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.25 ▲0.02 | 96.28 ▼20.43 | 39.81 ▼10.35 |
byakurai template filter option /wp-admin/options-general.php?page=byakurai_template-filter | 833 | 2.05 | 28.20 | 26.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- byakuraitmp_template_ids
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/byakurai-template-filter/assets/minify/src/JS.php:25
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/byakurai-template-filter/assets/path-converter/src/Converter.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/byakurai-template-filter/assets/minify/src/Exceptions/IOException.php:20
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/byakurai-template-filter/assets/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/byakurai-template-filter/assets/minify/src/Exceptions/BasicException.php:22
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/byakurai-template-filter/assets/minify/src/Exceptions/FileImportException.php:20
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/byakurai-template-filter/assets/minify/src/CSS.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: There were no tags found
byakurai-template-filter/byakurai-template-filter.php 92% from 13 tests
"byakurai template filter" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 264 characters long)
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
Success! There were no dangerous files found in this plugin1,581 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 399 | 1,262 | 1,476 |
PO File | 1 | 34 | 34 | 85 |
CSS | 1 | 2 | 0 | 12 |
XML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 3 | 33.33% |
▷ Concrete classes | 6 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 1 | 1.92% |
▷ Public methods | 16 | 30.77% |
▷ Protected methods | 36 | 69.23% |
▷ Private methods | 0 | 0.00% |
Functions | 40 | |
▷ Named functions | 27 | 67.50% |
▷ Anonymous functions | 13 | 32.50% |
Constants | 28 | |
▷ Global constants | 27 | 96.43% |
▷ Class constants | 1 | 3.57% |
▷ Public constants | 1 | 100.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 images were found in this plugin