Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.13MB] [CPU: ▼12.64ms] Passed 4 tests
Server-side resources used by D64 LSR-Stopper
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 34.79 ▼3.14 |
Dashboard /wp-admin | 3.50 ▲0.19 | 50.03 ▼2.12 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 49.67 ▼1.36 |
Add New Post /wp-admin/post-new.php | 4.79 ▼1.10 | 47.62 ▼43.94 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 40.82 ▲3.82 |
Server storage [IO: ▲0.12MB] [DB: ▲0.01MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/d64-lsr-stopper/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
d64_lsr_blacklist |
Browser metrics Passed 4 tests
An overview of browser requirements for D64 LSR-Stopper
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 13.17 ▼1.09 | 1.62 ▼0.14 | 37.63 ▼5.53 |
Dashboard /wp-admin | 2,234 ▲31 | 5.06 ▲0.21 | 112.59 ▲1.06 | 60.67 ▲20.58 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.00 ▼0.00 | 37.57 ▼2.63 | 34.57 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,546 ▲15 | 23.23 ▼0.00 | 653.51 ▲38.33 | 66.66 ▲8.08 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.30 ▲0.04 | 100.81 ▼5.32 | 46.51 ▲0.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- d64_lsr_blacklist
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/d64-lsr-stopper/d64-lsr-stopper.php:129
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: campaign, politics
d64-lsr-stopper/d64-lsr-stopper.php Passed 13 tests
The main PHP file in "D64 LSR-Stopper" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
138 characters long description:
Mit diesem Plugin verhinderst du ungewollte Verlinkungen zu Medien, welche das Leistungsschutzrecht unterstützen bzw. in Anspruch nehmen.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin797 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 144 | 167 | 797 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 106.50 |
▷ Minimum class complexity | 94.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 57 | 79.17% |
▷ Protected methods | 15 | 20.83% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 5.39KB | 5.54KB | 0.00% |
banner-772x250.fw.png | 73.94KB | 5.54KB | ▼ 92.51% |