Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼290.25ms] Passed 4 tests
Server-side resources used by Absolutte Blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 54.66 ▼1.53 |
Dashboard /wp-admin | 3.44 ▲0.03 | 35.54 ▲1.87 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 83.10 ▲41.28 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 100.92 ▼1,164.53 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 29.64 ▲3.21 |
Server storage [IO: ▲7.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 213 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Absolutte Blocks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲51 | 15.91 ▲0.13 | 5.97 ▼0.12 | 2.77 ▲0.16 |
Dashboard /wp-admin | 2,874 ▲20 | 6.23 ▲0.11 | 117.55 ▼23.96 | 158.75 ▼46.30 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.24 ▼0.01 | 65.66 ▼5.44 | 144.38 ▼8.30 |
Add New Post /wp-admin/post-new.php | 1,675 ▲14 | 17.55 ▼4.76 | 457.40 ▲36.12 | 159.51 ▼2.77 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.53 ▼0.04 | 146.25 ▼14.62 | 186.47 ▼3.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in absolutte-blocks/assets to your readme.txt
absolutte-blocks/plugin.php 92% from 13 tests
This is the main PHP file of "Absolutte Blocks" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("absolutte-blocks.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous 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
All PNG images should be compressed to minimize bandwidth usage for end users
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% |