Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/konvent/eventlist/eventlist.php+41
Declaration of Konvent_EventList::update($params) should be compatible with Konvent_Widget::update($targetUri, $optionName, array $params = Array, $ttl = 7200)
Server metrics [RAM: ▼1.91MB] [CPU: ▼56.08ms] Passed 4 tests
Analyzing server-side resources used by Konvent
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.24 ▼38.55 |
Dashboard /wp-admin | 2.10 ▼1.21 | 7.26 ▼46.70 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.63 ▼44.21 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.76 ▼94.87 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.63 ▼28.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Konvent
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.14 ▼1.61 | 1.74 ▼0.26 | 45.80 ▼6.22 |
Dashboard /wp-admin | 2,209 ▲18 | 5.88 ▲0.99 | 109.40 ▲3.59 | 43.34 ▼1.06 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.01 ▼0.13 | 34.75 ▼2.23 | 32.66 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.35 ▲5.86 | 669.01 ▼26.40 | 57.37 ▲4.10 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.02 | 107.63 ▲5.00 | 46.31 ▲1.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/konvent/eventlist/eventlist.php+41
Declaration of Konvent_EventList::update($params) should be compatible with Konvent_Widget::update($targetUri, $optionName, array $params = Array, $ttl = 7200)
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/konvent/eventlist/views/widget.php
- > /wp-content/plugins/konvent/tickettypes/views/widget.php
- > /wp-content/plugins/konvent/tickettypes/views/content.php
- > /wp-content/plugins/konvent/eventlist/views/list.php
- 18× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: apiData in wp-content/plugins/konvent/eventlist/views/list.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/konvent/eventlist/views/widget-control.php:2
- > PHP Notice
Undefined variable: apiData in wp-content/plugins/konvent/tickettypes/views/content.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Konvent_Widget' not found in wp-content/plugins/konvent/tickettypes/tickettypes.php:10
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/konvent/eventlist/views/list.php on line 2
- > PHP Notice
Undefined variable: title in wp-content/plugins/konvent/tickettypes/views/widget.php on line 2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/konvent/tickettypes/views/content.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/konvent/tickettypes/views/widget-control.php:2
- > PHP Notice
Undefined variable: apiData in wp-content/plugins/konvent/tickettypes/views/content.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Konvent_Widget' not found in wp-content/plugins/konvent/eventlist/eventlist.php:10
- > PHP Notice
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #2 is missing in konvent/assets to your readme.txt
konvent/konvent.php Passed 13 tests
This is the main PHP file of "Konvent" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
30 characters long description:
List of events from Konvent.se
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin273 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 62 | 46 | 210 |
CSS | 1 | 13 | 0 | 63 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 3 | 13.64% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 1 | 4.55% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin