Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.57ms] Passed 4 tests
An overview of server-side resources used by Cryptocurrency Prijsvergelijking Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 53.75 ▲11.36 |
Dashboard /wp-admin | 3.37 ▲0.06 | 52.34 ▼8.40 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.95 ▲4.22 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 104.44 ▲3.06 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.06 ▼1.16 |
Alle Shortcodes /wp-admin/edit.php?post_type=shortcode | 3.33 | 38.12 |
Nieuwe Shortcode /wp-admin/post-new.php?post_type=shortcode | 3.32 | 53.14 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Cryptocurrency Prijsvergelijking Widget: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲78 | 13.51 ▼1.24 | 1.78 ▼0.11 | 42.43 ▼0.86 |
Dashboard /wp-admin | 2,227 ▲39 | 5.84 ▲0.93 | 104.10 ▼0.13 | 42.71 ▲0.20 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.01 ▼0.01 | 40.03 ▲1.80 | 34.29 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,562 ▲29 | 23.28 ▼0.07 | 638.91 ▼65.67 | 61.88 ▲8.15 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.19 ▼0.04 | 96.68 ▼12.42 | 47.10 ▼0.54 |
Alle Shortcodes /wp-admin/edit.php?post_type=shortcode | 1,085 | 1.93 | 29.51 | 30.89 |
Nieuwe Shortcode /wp-admin/post-new.php?post_type=shortcode | 1,680 | 2.60 | 49.60 | 59.72 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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)
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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptocurrency-prijsvergelijking-widget/functions.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptocurrency-prijsvergelijking-widget/functions.php:103
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
cryptocurrency-prijsvergelijking-widget/cryptocurrency-prijsvergelijker.php 92% from 13 tests
"Cryptocurrency Prijsvergelijking Widget" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("cryptocurrency-prijsvergelijking-widget.php" instead of "cryptocurrency-prijsvergelijker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin270 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 8 | 270 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin