Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.87ms] Passed 4 tests
An overview of server-side resources used by Absolutte Blocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.41 ▲1.23 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.72 ▼13.25 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.52 ▲2.13 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.22 ▼17.58 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.18 ▲3.02 |
Server storage [IO: ▲7.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 213 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Absolutte Blocks: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲53 | 14.28 ▲0.03 | 1.84 ▲0.23 | 47.27 ▲8.08 |
Dashboard /wp-admin | 2,198 ▲17 | 5.59 ▼0.15 | 83.43 ▼18.19 | 36.60 ▼5.95 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.05 | 36.50 ▲2.05 | 31.99 ▼2.22 |
Add New Post /wp-admin/post-new.php | 6,370 ▲4,838 | 28.11 ▲4.98 | 944.32 ▲289.45 | 82.67 ▲23.68 |
Media Library /wp-admin/upload.php | 1,391 ▼12 | 4.19 ▼0.09 | 97.38 ▼0.16 | 43.71 ▲2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in absolutte-blocks/assets to your readme.txt
absolutte-blocks/plugin.php 92% from 13 tests
"Absolutte Blocks" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("absolutte-blocks.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin35,700 lines of code in 177 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 145 | 2,652 | 1,136 | 14,032 |
CSS | 9 | 1,498 | 89 | 8,366 |
JSON | 2 | 0 | 0 | 6,916 |
SVG | 4 | 0 | 0 | 3,882 |
JavaScript | 14 | 190 | 101 | 2,356 |
PHP | 2 | 27 | 69 | 143 |
Markdown | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/welcome/images/computer.png | 35.13KB | 27.99KB | ▼ 20.34% |