Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.77ms] Passed 4 tests
This is a short check of server-side resources used by VG WORT METIS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.81 ▼7.60 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.41 ▼3.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.36 ▼0.58 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.53 ▼9.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.56 ▼2.14 |
Server storage [IO: ▲1.14MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 205 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for VG WORT METIS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▼0.11 | 2.02 ▲0.25 | 47.11 ▲1.57 |
Dashboard /wp-admin | 2,206 ▲15 | 6.06 ▲1.17 | 106.43 ▼9.50 | 40.64 ▼8.84 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 41.95 ▲4.18 | 35.29 ▲1.29 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.26 ▲0.17 | 641.98 ▼53.25 | 58.11 ▲4.46 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▼0.09 | 96.98 ▼10.49 | 41.92 ▼3.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 81× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/vgw-metis/vendor/psr/http-client/src/RequestExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function WP_VGWORT\\esc_html_e() in wp-content/plugins/vgw-metis/admin/partials/message_error.php:18
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/vgw-metis/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/vgw-metis/admin/page_messages.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/vgw-metis/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/vgw-metis/vendor/guzzlehttp/psr7/src/CachingStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/vgw-metis/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_VGWORT\\Page' not found in wp-content/plugins/vgw-metis/admin/page_dashboard.php:17
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/vgw-metis/vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/vgw-metis/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
10 plugin tags: tom, zhlmarke, verlag, metis, meldung...
vgw-metis/vgw-metis.php 92% from 13 tests
The main file in "VG WORT METIS" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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 plugin20,146 lines of code in 189 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 157 | 3,131 | 8,383 | 14,584 |
Markdown | 17 | 1,376 | 0 | 3,928 |
JSON | 9 | 0 | 0 | 1,028 |
JavaScript | 4 | 97 | 94 | 458 |
CSS | 1 | 35 | 18 | 141 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 15.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 26 | |
Traits | 3 | |
Classes | 106 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 106 | 100.00% |
▷ Final classes | 35 | 33.02% |
Methods | 1,016 | |
▷ Static methods | 228 | 22.44% |
▷ Public methods | 876 | 86.22% |
▷ Protected methods | 8 | 0.79% |
▷ Private methods | 132 | 12.99% |
Functions | 126 | |
▷ Named functions | 34 | 26.98% |
▷ Anonymous functions | 92 | 73.02% |
Constants | 125 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 125 | 100.00% |
▷ Public constants | 114 | 91.20% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin