Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.48MB] [CPU: ▼0.71ms] Passed 4 tests
A check of server-side resources used by Mein Seh-Check
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.53 | 48.31 ▲6.87 |
Dashboard /wp-admin | 3.83 ▲0.48 | 57.34 ▼8.56 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 57.01 ▲8.33 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 102.49 ▼6.67 |
Media Library /wp-admin/upload.php | 3.69 ▲0.45 | 45.76 ▲5.51 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 104 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Mein Seh-Check
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.44 ▼0.15 | 1.75 ▼0.04 | 41.82 ▲0.48 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.02 | 97.30 ▲0.95 | 41.34 ▼6.98 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.01 | 40.31 ▲1.91 | 35.38 ▲1.28 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,838 | 27.57 ▲4.44 | 887.56 ▲163.69 | 67.10 ▲13.69 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.14 ▼0.03 | 100.79 ▼15.66 | 41.21 ▼11.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 29× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\WriterInterface' not found in wp-content/plugins/mein-seh-check/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReplacingWriter.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\ReaderInterface' not found in wp-content/plugins/mein-seh-check/vendor/vlucas/phpdotenv/src/Repository/Adapter/AdapterInterface.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpOption\\Option' not found in wp-content/plugins/mein-seh-check/vendor/phpoption/phpoption/src/PhpOption/None.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Stringable' not found in wp-content/plugins/mein-seh-check/vendor/symfony/polyfill-php80/PhpToken.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Exception\\ExceptionInterface' not found in wp-content/plugins/mein-seh-check/vendor/vlucas/phpdotenv/src/Exception/ValidationException.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mein-seh-check/meinsehcheck-wp.php:80
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\AdapterInterface' not found in wp-content/plugins/mein-seh-check/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\WriterInterface' not found in wp-content/plugins/mein-seh-check/vendor/vlucas/phpdotenv/src/Repository/Adapter/GuardedWriter.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Store\\StoreInterface' not found in wp-content/plugins/mein-seh-check/vendor/vlucas/phpdotenv/src/Store/FileStore.php:10
- > PHP Fatal error
Uncaught Error: Class 'GrahamCampbell\\ResultType\\Result' not found in wp-content/plugins/mein-seh-check/vendor/graham-campbell/result-type/src/Success.php:24
- > 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 93% from 29 tests
readme.txt Passed 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
1 plugin tags: block
mein-seh-check/meinsehcheck-wp.php 85% from 13 tests
The main file in "Mein Seh-Check" v. 0.6.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("mein-seh-check.php" instead of "meinsehcheck-wp.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin7,689 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 78 | 977 | 2,791 | 6,849 |
JSON | 10 | 0 | 0 | 800 |
Markdown | 3 | 13 | 0 | 37 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 8.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 40 | 80.00% |
Methods | 362 | |
▷ Static methods | 141 | 38.95% |
▷ Public methods | 311 | 85.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 51 | 14.09% |
Functions | 161 | |
▷ Named functions | 108 | 67.08% |
▷ Anonymous functions | 53 | 32.92% |
Constants | 28 | |
▷ Global constants | 7 | 25.00% |
▷ Class constants | 21 | 75.00% |
▷ Public constants | 9 | 42.86% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin