Benchmarks
Plugin footprint Passed 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.10MB] [CPU: ▼153.83ms] Passed 4 tests
Server-side resources used by Advanced Gutenberg Team Block
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 33.64 ▲7.11 |
Dashboard /wp-admin | 3.07 ▲0.01 | 33.75 ▼5.67 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 34.55 ▲0.57 |
Add New Post /wp-admin/post-new.php | 4.98 ▼0.46 | 44.87 ▼610.13 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 23.62 ▼0.08 |
Team Block /wp-admin/tools.php?page=agt-teamblock | 2.99 | 21.87 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Gutenberg Team Block
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,836 ▲230 | 16.11 ▲0.14 | 9.37 ▲4.63 | 76.07 ▲2.41 |
Dashboard /wp-admin | 2,938 ▲42 | 6.10 ▼0.05 | 112.65 ▼15.66 | 163.49 ▼4.41 |
Posts /wp-admin/edit.php | 2,745 ▲39 | 3.24 ▼0.00 | 61.46 ▼5.33 | 139.42 ▲5.42 |
Add New Post /wp-admin/post-new.php | 2,336 ▼1,389 | 16.41 ▼2.14 | 425.24 ▲7.12 | 174.68 ▲9.08 |
Media Library /wp-admin/upload.php | 1,757 ▲5 | 5.52 ▲0.04 | 141.24 ▼0.81 | 187.66 ▲1.91 |
Team Block /wp-admin/tools.php?page=agt-teamblock | 1,889 | 9.01 | 244.40 | 188.84 |
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
The plugin uninstalled completely, with no zombie files or tables
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)
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-team-block/admin/admin.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in advanced-team-block/assets to your readme.txt
advanced-team-block/plugin.php 85% from 13 tests
The entry point to "Advanced Gutenberg Team Block" version 1.0.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-team-block.php" instead of "plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 180 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,279 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 38 | 40 | 805 |
Sass | 3 | 22 | 11 | 246 |
PHP | 3 | 26 | 57 | 156 |
CSS | 3 | 11 | 0 | 72 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG images were found in this plugin