Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/juratext-importer-fur-rechtstexte24/extClasses/Crypt/Hash.php+85
Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Hash has a deprecated constructor
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.82ms] Passed 4 tests
An overview of server-side resources used by JuraText-Importer für rechtstexte24
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.08 ▼0.92 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.66 ▲5.08 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 50.48 ▲3.76 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 97.75 ▼0.67 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.53 ▲1.10 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 67 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_rechtstext |
wp_juracms_kunde |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by JuraText-Importer für rechtstexte24
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.28 ▼1.15 | 1.64 ▼0.03 | 45.18 ▲1.59 |
Dashboard /wp-admin | 2,218 ▲27 | 4.85 ▼0.06 | 106.53 ▲1.44 | 42.38 ▼2.54 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.05 | 41.00 ▲0.74 | 35.24 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 17.59 ▼5.54 | 603.38 ▲6.60 | 60.74 ▲9.98 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.22 ▲0.06 | 95.27 ▼6.60 | 41.33 ▼5.38 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/juratext-importer-fur-rechtstexte24/admin/partials/juracmsplugin-admin-display.php:39
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/juratext-importer-fur-rechtstexte24/admin/partials/juracmsplugin-admin-display.php on line 37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== juratext-importer-fur-rechtstexte24 ===
) - Screenshots: No descriptions were found for these screenshots #2, #3, #4 in juratext-importer-fur-rechtstexte24/assets to your readme.txt
juratext-importer-fur-rechtstexte24/juracmsplugin.php 85% from 13 tests
The main PHP script in "JuraText-Importer für rechtstexte24" version 1.1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("juratext-importer-fur-rechtstexte24.php" instead of "juracmsplugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected11,314 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,341 | 4,895 | 6,389 |
Sass | 24 | 114 | 34 | 2,122 |
CSS | 2 | 670 | 24 | 1,892 |
SVG | 1 | 0 | 0 | 685 |
HTML | 3 | 4 | 0 | 141 |
JavaScript | 2 | 16 | 2 | 85 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 71.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 363.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 225 | |
▷ Static methods | 4 | 1.78% |
▷ Public methods | 221 | 98.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 1.78% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 79 | |
▷ Global constants | 79 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons/logo.png | 9.01KB | 4.29KB | ▼ 52.38% |