Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/brozzme-material-loading/brozzme_material_loading.php+116
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.05ms] Passed 4 tests
An overview of server-side resources used by Brozzme Material Loading
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.84 ▼6.77 |
Dashboard /wp-admin | 3.44 ▲0.14 | 62.63 ▲7.93 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.83 ▼0.82 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 90.66 ▼9.75 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.28 ▲5.16 |
Material loading /wp-admin/options-general.php?page=brozzme-material-loading | 3.34 | 31.82 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
b_material_general_settings |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Brozzme Material Loading
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲93 | 14.44 ▼0.11 | 7.34 ▲5.17 | 40.45 ▼3.67 |
Dashboard /wp-admin | 2,221 ▲50 | 5.79 ▲0.14 | 87.04 ▼13.21 | 38.71 ▼4.00 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 2.30 ▲0.30 | 38.09 ▼3.02 | 34.05 ▲2.40 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.36 ▼0.33 | 626.57 ▼68.96 | 34.00 ▼13.88 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.36 ▲0.26 | 99.28 ▼4.10 | 45.19 ▲0.27 |
Material loading /wp-admin/options-general.php?page=brozzme-material-loading | 1,217 | 2.60 | 51.23 | 37.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- b_material_general_settings
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=brozzme-material-loading
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/brozzme-material-loading/includes/brozzme_material_loading_settings.php:9
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (20 tag instead of maximum 10)
brozzme-material-loading/brozzme_material_loading.php 92% from 13 tests
"Brozzme Material Loading" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("brozzme-material-loading.php" instead of "brozzme_material_loading.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,554 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 218 | 32 | 1,541 |
CSS | 1 | 5 | 0 | 7 |
JavaScript | 2 | 3 | 5 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 23 | |
▷ Named functions | 23 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin