Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.21MB] [CPU: ▼16.16ms] Passed 4 tests
Analyzing server-side resources used by Die Eule Vernetzt
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.66 ▼33.74 |
Dashboard /wp-admin | 3.53 ▲0.18 | 49.29 ▼15.92 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.59 ▼0.33 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 89.17 ▼14.64 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 42.71 ▲6.00 |
Die Eule vernetzt /wp-admin/options-general.php?page=die_eule_vernetzt | 3.36 | 31.50 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 94 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_eulenetzwerk |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Die Eule Vernetzt
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.69 ▲0.54 | 1.76 ▼0.08 | 43.73 ▲1.08 |
Dashboard /wp-admin | 2,202 ▲28 | 5.62 ▼0.04 | 88.07 ▼7.29 | 44.30 ▲4.01 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.03 | 35.01 ▼3.86 | 37.97 ▲2.56 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.17 ▲0.06 | 670.35 ▲15.83 | 57.25 ▲3.10 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.14 ▼0.08 | 114.92 ▼4.71 | 49.44 ▼0.16 |
Die Eule vernetzt /wp-admin/options-general.php?page=die_eule_vernetzt | 803 | 2.00 | 25.72 | 27.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_eulenetzwerk
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/die-eule-netzwerk/eule-network.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'EuleNetwork\\Block' not found in wp-content/plugins/die-eule-netzwerk/src/Block/Section.php:7
- > PHP Fatal error
Uncaught Error: Class 'EuleNetwork\\Block' not found in wp-content/plugins/die-eule-netzwerk/src/Block/PartnerFeed.php:14
- > PHP Fatal error
Uncaught Error: Class 'EuleNetwork\\AbstractPostAction' not found in wp-content/plugins/die-eule-netzwerk/src/Model/Action/RefreshFeed.php:15
- > PHP Fatal error
Uncaught Error: Class 'EuleNetwork\\Block' not found in wp-content/plugins/die-eule-netzwerk/src/Block/Setting.php:7
- > PHP Fatal error
Uncaught Error: Class 'SimplePie_Cache_DB' not found in wp-content/plugins/die-eule-netzwerk/vendor/simplepie/simplepie/library/SimplePie/Cache/MySQL.php:56
- > PHP Fatal error
Uncaught Error: Class 'EuleNetwork\\Config\\Setting' not found in wp-content/plugins/die-eule-netzwerk/src/Config/Setting/Select.php:8
- > PHP Fatal error
Uncaught Error: Class 'EuleNetwork\\Block' not found in wp-content/plugins/die-eule-netzwerk/src/Block/Settings.php:8
- > PHP Fatal error
Uncaught Error: Class 'SimplePie' not found in wp-content/plugins/die-eule-netzwerk/vendor/simplepie/simplepie/library/SimplePie/Core.php:53
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/die-eule-netzwerk/src/Widget/PartnerFeed.php:11
- > PHP Fatal error
Uncaught Error: Class 'EuleNetwork\\AdminPage' not found in wp-content/plugins/die-eule-netzwerk/src/Config/Settings.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in die-eule-netzwerk/assets to your readme.txt
die-eule-netzwerk/eule-network.php 77% from 13 tests
The entry point to "Die Eule Vernetzt" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("die-eule-netzwerk.php" instead of "eule-network.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected15,211 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 78 | 1,781 | 6,754 | 14,892 |
JSON | 3 | 0 | 0 | 109 |
Markdown | 1 | 27 | 0 | 86 |
CSS | 1 | 11 | 0 | 71 |
SQL | 1 | 4 | 4 | 32 |
YAML | 1 | 0 | 0 | 21 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 808)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 52.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 949.00 |
Average method complexity | 6.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 808.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 2 | 3.28% |
▷ Concrete classes | 59 | 96.72% |
▷ Final classes | 0 | 0.00% |
Methods | 577 | |
▷ Static methods | 55 | 9.53% |
▷ Public methods | 530 | 91.85% |
▷ Protected methods | 35 | 6.07% |
▷ Private methods | 12 | 2.08% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 82 | |
▷ Global constants | 70 | 85.37% |
▷ Class constants | 12 | 14.63% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
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 |
src/img/logo_gray_medium.png | 8.27KB | 3.74KB | ▼ 54.72% |
src/img/logo_white_medium.png | 21.85KB | 7.20KB | ▼ 67.06% |