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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.23ms] Passed 4 tests
Analyzing server-side resources used by Széchenyi 2020 Logo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 51.80 ▲11.07 |
Dashboard /wp-admin | 3.52 ▲0.22 | 46.30 ▼3.29 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 43.45 ▼2.61 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 85.39 ▼12.30 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.51 ▲5.28 |
Széchenyi 2020 Logo /wp-admin/options-general.php?page=szechenyi-2020-setting-admin | 3.42 | 34.20 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
szechenyi_2020_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Széchenyi 2020 Logo
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲117 | 13.26 ▼1.11 | 1.81 ▼0.28 | 38.08 ▼8.24 |
Dashboard /wp-admin | 2,224 ▲33 | 5.83 ▲0.94 | 102.57 ▼3.71 | 38.70 ▼1.97 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.02 ▼0.03 | 33.46 ▼2.18 | 34.24 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,525 ▼8 | 17.61 ▼5.41 | 616.64 ▼26.67 | 55.08 ▲2.25 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.23 ▲0.02 | 102.34 ▲4.67 | 48.92 ▲7.34 |
Széchenyi 2020 Logo /wp-admin/options-general.php?page=szechenyi-2020-setting-admin | 1,041 | 2.06 | 22.33 | 44.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=szechenyi-2020-setting-admin
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=szechenyi-2020-setting-admin 173 The specified value " " cannot be parsed, or is out of range.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
szechenyi-2020-logo/szechenyi-2020-logo.php 92% from 13 tests
"Széchenyi 2020 Logo" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,660 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 287 | 159 | 1,282 |
PO File | 1 | 114 | 132 | 285 |
Markdown | 1 | 33 | 0 | 54 |
CSS | 2 | 8 | 7 | 20 |
JavaScript | 2 | 5 | 8 | 18 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 1 | 2.13% |
▷ Public methods | 46 | 97.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.13% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
2 compressed PNG files occupy 0.03MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/szechenyi-2020-logo-top.png | 17.98KB | 18.81KB | 0.00% |
assets/images/szechenyi-2020-logo-bottom.png | 12.11KB | 12.63KB | 0.00% |