Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲3.44ms] Passed 4 tests
Analyzing server-side resources used by kontur font-o-mat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.04 ▲6.94 |
Dashboard /wp-admin | 3.41 ▲0.11 | 50.85 ▲2.94 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 48.33 ▲0.70 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.39 ▲6.39 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.78 ▲3.73 |
kontur Font-o-Mat /wp-admin/options-general.php?page=kontur-font-o-mat-option | 3.33 | 50.27 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
kontur font-o-mat: 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 / | 2,809 ▲38 | 13.21 ▼1.18 | 1.66 ▼0.06 | 40.56 ▼3.31 |
Dashboard /wp-admin | 2,213 ▲28 | 4.85 ▼1.01 | 101.15 ▲0.74 | 40.60 ▼4.88 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.04 ▲0.00 | 34.75 ▼0.52 | 31.06 ▼6.07 |
Add New Post /wp-admin/post-new.php | 1,685 ▲146 | 21.92 ▲3.46 | 615.95 ▼30.57 | 58.99 ▼12.72 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.09 | 94.72 ▼14.65 | 41.41 ▼2.74 |
kontur Font-o-Mat /wp-admin/options-general.php?page=kontur-font-o-mat-option | 2,618 | 2.25 | 48.02 | 174.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive 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
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
kontur-font-o-mat/kontur-font-o-mat.php 92% from 13 tests
The primary PHP file in "kontur font-o-mat" version 1.1.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 315 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected5,359 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 916 | 28 | 3,660 |
PHP | 7 | 297 | 182 | 896 |
JavaScript | 13 | 49 | 59 | 660 |
Sass | 2 | 34 | 1 | 140 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 9.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 5 | 18.52% |
▷ Public methods | 23 | 85.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.81% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 4 | 50.00% |
▷ Class constants | 4 | 50.00% |
▷ Public constants | 4 | 100.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
2 PNG files occupy 0.37MB with 0.25MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/kontur_font-o-mat_gutenberg_font-family.png | 53.46KB | 13.65KB | ▼ 74.47% |
admin/img/werbekontur_font-o-mat.png | 324.22KB | 125.24KB | ▼ 61.37% |