Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.06MB] [CPU: ▲9.29ms] Passed 4 tests
Server-side resources used by Worthy - VG WORT Integration für Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.48 ▲2.02 | 50.26 ▲7.28 |
Dashboard /wp-admin | 5.38 ▲2.07 | 60.43 ▲10.85 |
Posts /wp-admin/edit.php | 5.50 ▲2.14 | 64.18 ▲13.09 |
Add New Post /wp-admin/post-new.php | 7.99 ▲2.10 | 103.95 ▲6.26 |
Media Library /wp-admin/upload.php | 5.30 ▲2.07 | 49.96 ▲12.76 |
Settings /wp-admin/admin.php?page=wp_worthy-settings | 5.27 | 44.52 |
Posts /wp-admin/admin.php?page=wp_worthy-posts | 5.30 | 57.46 |
Admin /wp-admin/admin.php?page=wp_worthy-admin | 5.27 | 49.11 |
Import / Export /wp-admin/admin.php?page=wp_worthy-convert | 5.26 | 48.99 |
Premium /wp-admin/admin.php?page=wp_worthy-premium | 5.26 | 43.84 |
Overview /wp-admin/admin.php?page=wp_worthy-overview | 5.27 | 48.83 |
Markers /wp-admin/admin.php?page=wp_worthy-markers | 5.28 | 45.25 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 21 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_worthy_markers |
New WordPress options |
---|
wp-worthy-pixel-table-version |
theysaidso_admin_options |
wp-worthy-version |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
wp-worthy-lazy-loading |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Worthy - VG WORT Integration für Wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲103 | 13.21 ▼1.13 | 4.61 ▲2.89 | 44.01 ▲0.34 |
Dashboard /wp-admin | 2,268 ▲90 | 5.75 ▲0.09 | 96.96 ▼20.22 | 41.69 ▼0.64 |
Posts /wp-admin/edit.php | 2,181 ▲84 | 2.24 ▲0.23 | 36.78 ▼3.10 | 34.41 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,639 ▲113 | 23.72 ▲0.52 | 717.61 ▲89.15 | 55.44 ▲3.36 |
Media Library /wp-admin/upload.php | 1,541 ▲144 | 4.29 ▲0.12 | 95.95 ▼6.75 | 41.22 ▼3.18 |
Settings /wp-admin/admin.php?page=wp_worthy-settings | 1,000 | 1.90 | 27.94 | 27.71 |
Posts /wp-admin/admin.php?page=wp_worthy-posts | 1,506 | 2.45 | 27.81 | 41.80 |
Admin /wp-admin/admin.php?page=wp_worthy-admin | 1,141 | 1.91 | 26.47 | 27.92 |
Import / Export /wp-admin/admin.php?page=wp_worthy-convert | 1,052 | 1.91 | 26.61 | 35.95 |
Premium /wp-admin/admin.php?page=wp_worthy-premium | 845 | 2.14 | 28.68 | 24.94 |
Overview /wp-admin/admin.php?page=wp_worthy-overview | 872 | 2.14 | 29.35 | 31.72 |
Markers /wp-admin/admin.php?page=wp_worthy-markers | 1,268 | 1.76 | 36.65 | 35.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_worthy_markers
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- wp-worthy-pixel-table-version
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-worthy/wp-worthy.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > 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/wp-worthy/table/posts.php on line 21
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-worthy/table/posts.php on line 21
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-worthy/table/markers.php on line 21
- > 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/wp-worthy/table/markers.php on line 21
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-worthy/table/markers.php on line 21
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-worthy/table/posts.php on line 21
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
wp-worthy/wp-worthy.php 92% from 13 tests
This is the main PHP file of "Worthy - VG WORT Integration für Wordpress" version 1.7.0-0cde1c2..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1.7.0-0cde1c2...")
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
Success! There were no dangerous files found in this plugin10,761 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 1,930 | 3,242 | 8,454 |
PO File | 1 | 585 | 28 | 1,172 |
JavaScript | 3 | 145 | 96 | 755 |
CSS | 1 | 89 | 0 | 378 |
SVG | 1 | 0 | 0 | 2 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,114)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.75 |
Average class complexity | 211.56 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 1,114.00 |
Average method complexity | 8.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 242 | |
▷ Static methods | 33 | 13.64% |
▷ Public methods | 203 | 83.88% |
▷ Protected methods | 9 | 3.72% |
▷ Private methods | 30 | 12.40% |
Functions | 14 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 14 | 100.00% |
Constants | 33 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 33 | 100.00% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin_icon_big.png | 1.56KB | 1.58KB | 0.00% |
assets/paypal.png | 4.35KB | 2.74KB | ▼ 37.02% |
assets/giropay.png | 5.41KB | 2.79KB | ▼ 48.38% |