Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.55ms] Passed 4 tests
Server-side resources used by OPTIFIN Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 35.37 ▼6.08 |
Dashboard /wp-admin | 3.41 ▲0.10 | 45.70 ▼7.52 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.23 ▼4.32 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.45 ▼4.28 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.62 ▲4.18 |
Server storage [IO: ▲3.00MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/optifin-forms/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/optifin-forms/img/nurgrundst\303\274ck.png"
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by OPTIFIN Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.16 | 4.73 ▲2.71 | 40.00 ▼5.29 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼1.06 | 102.44 ▼3.60 | 39.70 ▼4.61 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.04 | 39.19 ▲0.53 | 33.80 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.19 ▼0.05 | 584.13 ▼61.10 | 57.25 ▲5.86 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.19 ▼0.12 | 95.33 ▼5.17 | 42.23 ▼1.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 Passed 29 tests
readme.txt Passed 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
2 plugin tags: optifin, credit calculation
optifin-forms/optifin-forms.php Passed 13 tests
"OPTIFIN Forms" version 1.3.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
28 characters long description:
Different forms from optifin
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 plugin8,476 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 585 | 183 | 4,486 |
CSS | 8 | 304 | 12 | 2,824 |
PHP | 1 | 23 | 7 | 1,166 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/zinshaus.png | 3.38KB | 2.53KB | ▼ 25.09% |
img/ferienhaus.png | 3.71KB | 2.85KB | ▼ 23.25% |
img/logo-klein.png | 2.85KB | 2.01KB | ▼ 29.25% |
img/haus.png | 2.70KB | 2.69KB | 0.43% |
img/sonstiges.png | 2.83KB | 1.98KB | ▼ 29.91% |