Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼298.09ms] Passed 4 tests
An overview of server-side resources used by Advanced Heading
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.09 | 60.44 ▲4.46 |
Dashboard /wp-admin | 3.44 ▲0.03 | 37.19 ▲1.11 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 45.21 ▼0.67 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 98.79 ▼1,191.17 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 32.65 ▼1.63 |
Server storage [IO: ▲4.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Heading
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲53 | 15.13 ▼0.64 | 6.44 ▲0.41 | 2.86 ▲0.78 |
Dashboard /wp-admin | 2,895 ▲34 | 6.17 ▼0.14 | 113.01 ▼15.92 | 152.43 ▼10.58 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.23 ▲0.00 | 61.45 ▼3.15 | 139.13 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,712 ▼48 | 17.58 ▼5.07 | 430.74 ▲23.72 | 165.08 ▲8.49 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.53 ▲0.09 | 142.75 ▲3.26 | 183.30 ▼15.05 |
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
Everything seems fine, however this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
advanced-heading/advanced-heading.php Passed 13 tests
The main PHP script in "Advanced Heading" version 1.1.0 is automatically included on every request by WordPress
67 characters long description:
Create Advanced Heading with Title, Subtitle and Separator Controls
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin17,771 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 12,231 |
CSS | 5 | 1,502 | 42 | 5,074 |
PHP | 8 | 70 | 94 | 424 |
JavaScript | 4 | 2 | 3 | 30 |
JSON | 2 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview 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.39 |
Average class complexity | 12.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 17 | |
▷ Static methods | 4 | 23.53% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin