Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼294.51ms] Passed 4 tests
This is a short check of server-side resources used by Column-Matic
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 54.90 ▲4.35 |
Dashboard /wp-admin | 3.46 ▲0.05 | 34.13 ▲0.20 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 38.88 ▲0.19 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 93.93 ▼1,181.16 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 27.23 ▲2.73 |
Column-Matic /wp-admin/options-general.php?page=column-matic-options | 3.31 | 22.99 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Column-Matic: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲24 | 15.91 ▼0.04 | 5.97 ▼0.15 | 2.27 ▼0.28 |
Dashboard /wp-admin | 2,897 ▲43 | 6.07 ▼0.14 | 118.80 ▼16.74 | 157.45 ▼5.97 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.23 ▲0.01 | 61.68 ▼4.90 | 143.74 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,714 ▲54 | 20.81 ▲5.25 | 428.56 ▲7.55 | 159.72 ▲2.51 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.52 ▼0.03 | 142.00 ▼2.25 | 184.43 ▼6.80 |
Column-Matic /wp-admin/options-general.php?page=column-matic-options | 1,149 | 2.38 | 54.72 | 116.81 |
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 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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 get_option() in wp-content/plugins/column-matic/column-matic.php:299
- > 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)
No browser errors were detected
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: Please a description for screenshot #2 in column-matic/assets to your readme.txt
column-matic/column-matic.php 92% from 13 tests
The main file in "Column-Matic" v. 1.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin306 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 60 | 232 |
PO File | 1 | 26 | 28 | 74 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/column-matic-icon.png | 2.56KB | 1.58KB | ▼ 38.34% |