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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼294.56ms] Passed 4 tests
Server-side resources used by Columns for Bootstrap
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.04 | 54.28 ▲1.38 |
Dashboard /wp-admin | 3.45 ▲0.04 | 33.11 ▼0.72 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 37.37 ▼1.13 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.06 | 92.02 ▼1,173.76 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 22.77 ▼2.61 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 3 new options
New WordPress options |
---|
bootstrap_columns_theme_name |
bootstrap_columns_theme_version |
bootstrap_columns_notice |
Browser metrics Passed 4 tests
A check of browser resources used by Columns for Bootstrap
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,765 ▲11 | 16.19 ▲0.61 | 6.03 ▼0.32 | 2.92 ▼0.11 |
Dashboard /wp-admin | 2,895 ▲37 | 6.00 ▼0.21 | 121.36 ▼14.45 | 156.77 ▼7.42 |
Posts /wp-admin/edit.php | 2,691 ▲3 | 3.23 ▼0.01 | 63.65 ▼0.56 | 140.44 ▼4.77 |
Add New Post /wp-admin/post-new.php | 1,661 ▼50 | 16.86 ▼3.91 | 428.70 ▼21.87 | 158.68 ▲1.23 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.54 ▲0.05 | 151.06 ▲15.18 | 194.04 ▲3.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 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 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_network_admin() in wp-content/plugins/columns-for-bootstrap/columns.php:42
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: columns, bootstrap, shortcode
columns-for-bootstrap/columns.php 92% from 13 tests
Analyzing the main PHP file in "Columns for Bootstrap" version 1.01
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("columns-for-bootstrap.php" instead of "columns.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
Good job! No executable or dangerous file extensions detected133 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 38 | 111 |
CSS | 1 | 5 | 0 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin