Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.70MB] [CPU: ▼48.41ms] Passed 4 tests
An overview of server-side resources used by slagzet van de dag
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.17 | 9.13 ▼30.53 |
Dashboard /wp-admin | 2.30 ▼1.00 | 10.87 ▼39.94 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 14.16 ▼35.22 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 10.35 ▼87.93 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 10.29 ▼22.56 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for slagzet van de dag
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.48 ▲0.10 | 1.97 ▲0.06 | 40.69 ▼8.05 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▲0.02 | 107.39 ▼6.56 | 36.60 ▼6.91 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.04 | 43.83 ▲6.41 | 37.00 ▲5.60 |
Add New Post /wp-admin/post-new.php | 1,535 ▲18 | 23.18 ▲5.56 | 651.51 ▼12.65 | 62.55 ▲9.64 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.21 ▼0.01 | 95.38 ▼1.22 | 42.66 ▲0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SVD::register() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slagzet-van-de-dag/slagzetvandedag.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI ("")
slagzet-van-de-dag/slagzetvandedag.php 92% from 13 tests
Analyzing the main PHP file in "slagzet van de dag" version 1.0.0
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("slagzet-van-de-dag.php" instead of "slagzetvandedag.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin270 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 24 | 5 | 184 |
CSS | 1 | 11 | 0 | 50 |
PHP | 1 | 5 | 8 | 36 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bm18.png | 0.48KB | 0.37KB | ▼ 23.79% |
screenshot-1.png | 11.85KB | 5.27KB | ▼ 55.53% |
df18.png | 0.13KB | 0.11KB | ▼ 17.52% |
btnforwarddis.png | 1.02KB | 0.81KB | ▼ 20.29% |
wk18.png | 0.80KB | 0.48KB | ▼ 39.61% |