Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.95ms] Passed 4 tests
Analyzing server-side resources used by Advanced Gutenberg Team Block
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.87 ▼5.01 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.04 ▼3.50 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 50.82 ▼2.42 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 82.40 ▼8.85 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.63 ▲0.12 |
Team Block /wp-admin/options-general.php?page=atgb-block | 3.29 | 32.53 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Gutenberg Team Block
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.27 ▲0.07 | 1.63 ▲0.04 | 41.19 ▲1.59 |
Dashboard /wp-admin | 2,199 ▲25 | 5.68 ▲0.18 | 91.68 ▼9.39 | 39.77 ▼3.55 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.02 ▲0.01 | 36.04 ▼4.95 | 30.82 ▼8.53 |
Add New Post /wp-admin/post-new.php | 6,371 ▲4,836 | 27.97 ▲9.64 | 894.39 ▲248.87 | 40.31 ▼32.00 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.18 ▼0.11 | 96.00 ▼5.84 | 42.71 ▼1.39 |
Team Block /wp-admin/options-general.php?page=atgb-block | 1,438 | 8.80 | 297.91 | 56.99 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-team-block/admin/class-atgb-blocks.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2 in advanced-team-block/assets to your readme.txt
advanced-team-block/plugin.php 69% from 13 tests
The main PHP file in "Advanced Gutenberg Team Block" ver. 2.0.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.7")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.4" instead of "7.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-team-block.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
No dangerous file extensions were detected948 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 44 | 82 | 366 |
CSS | 4 | 53 | 6 | 274 |
JSON | 1 | 0 | 0 | 249 |
JavaScript | 2 | 3 | 5 | 59 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.36 |
▷ 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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin