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.72MB] [CPU: ▼54.04ms] Passed 4 tests
A check of server-side resources used by ITSecMedia BRD Schuldenuhr
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.18 | 10.76 ▼30.79 |
Dashboard /wp-admin | 2.29 ▼1.05 | 15.51 ▼58.30 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 10.38 ▼38.33 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 10.51 ▼88.75 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 11.77 ▼24.44 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_ism_schuldenuhr_widget |
Browser metrics Passed 4 tests
ITSecMedia BRD Schuldenuhr: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲111 | 13.80 ▼0.57 | 9.68 ▲7.50 | 43.95 ▲2.16 |
Dashboard /wp-admin | 2,195 ▲18 | 5.56 ▼0.10 | 94.86 ▼4.03 | 44.36 ▲2.30 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.99 ▲0.00 | 39.33 ▲2.95 | 36.90 ▲1.88 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.49 ▲0.30 | 658.65 ▼32.94 | 53.92 ▲1.60 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▲0.05 | 104.29 ▼10.66 | 44.39 ▼4.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in ISM_schuldenuhr_widget is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_ism_schuldenuhr_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/staatsverschuldung-schuldenuhr-brd/ism-schuldenuhr.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (An example of the live BRD Schuldenuhr Widget, (screenshot-1.png)), #2 (The settings screen in wp-admin/widgets.php. (screenshot-2.png))
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
staatsverschuldung-schuldenuhr-brd/ism-schuldenuhr.php 92% from 13 tests
The main PHP script in "ITSecMedia BRD Schuldenuhr" version 1.0.00 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("staatsverschuldung-schuldenuhr-brd.php" instead of "ism-schuldenuhr.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin252 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 68 | 98 |
JavaScript | 1 | 17 | 26 | 94 |
LESS | 1 | 2 | 0 | 28 |
CSS | 1 | 0 | 0 | 26 |
JSON | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 19.83KB | 6.89KB | ▼ 65.28% |
screenshot-2.png | 12.20KB | 5.10KB | ▼ 58.21% |