Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼296.50ms] Passed 4 tests
A check of server-side resources used by AceBlocks: Gutenberg Blocks for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 57.47 ▲6.50 |
Dashboard /wp-admin | 3.42 ▲0.02 | 33.33 ▲0.57 |
Posts /wp-admin/edit.php | 3.65 ▲0.02 | 36.96 ▼0.56 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 92.72 ▼1,187.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 27.20 ▲1.59 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
AceBlocks: Gutenberg Blocks for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,859 ▲105 | 20.54 ▲4.52 | 59.48 ▲53.56 | 2.92 ▲0.76 |
Dashboard /wp-admin | 2,892 ▲38 | 6.15 ▲0.00 | 123.84 ▼17.00 | 157.15 ▼5.80 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.08 ▼0.15 | 63.68 ▲0.37 | 143.10 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,764 ▲103 | 22.49 ▲5.99 | 457.14 ▲43.33 | 160.03 ▲6.22 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.45 ▼0.06 | 139.63 ▼4.39 | 194.20 ▲6.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
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 everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/aceblocks/aceblocks.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: templates, page builder, editor, blocks, gutenberg
aceblocks/aceblocks.php Passed 13 tests
The primary PHP file in "AceBlocks: Gutenberg Blocks for WordPress" version 1.0.0 is used by WordPress to initiate all plugin functionality
32 characters long description:
Essential Blocks for WordPress 5
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin281 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 44 | 153 | 217 |
PHP | 2 | 11 | 27 | 35 |
Markdown | 1 | 3 | 0 | 14 |
CSS | 1 | 5 | 4 | 9 |
JSON | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin