Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼153.13ms] Passed 4 tests
This is a short check of server-side resources used by Max width container
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 26.97 ▼7.92 |
Dashboard /wp-admin | 3.07 ▲0.01 | 42.32 ▲0.26 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 37.93 ▼5.72 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 80.74 ▼589.19 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 26.40 ▼9.68 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Max width container
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,725 ▲129 | 15.84 ▲0.13 | 12.13 ▲2.40 | 46.77 ▼1.36 |
Dashboard /wp-admin | 2,967 ▲33 | 6.07 ▼0.01 | 138.71 ▼13.68 | 115.60 ▲4.49 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.72 ▲0.01 | 57.43 ▼4.74 | 87.41 ▼12.32 |
Add New Post /wp-admin/post-new.php | 1,680 ▲180 | 18.85 ▲0.34 | 387.26 ▼28.77 | 122.48 ▲3.83 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.02 ▼0.01 | 147.73 ▲1.43 | 115.17 ▼11.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
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
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #3, #4 in maximum-width-container/assets to your readme.txt
maximum-width-container/max-width-container.php 92% from 13 tests
Analyzing the main PHP file in "Max width container" version 1.1
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("maximum-width-container.php" instead of "max-width-container.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin69 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 0 | 0 | 44 |
PHP | 1 | 1 | 8 | 22 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin