Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.07MB] [CPU: ▲0.51ms] Passed 4 tests
Server-side resources used by OpenAgenda
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.37 ▲0.90 | 45.80 ▲8.77 |
Dashboard /wp-admin | 4.41 ▲1.10 | 50.76 ▲3.47 |
Posts /wp-admin/edit.php | 4.52 ▲1.16 | 53.70 ▲8.63 |
Add New Post /wp-admin/post-new.php | 7.06 ▲1.17 | 87.63 ▼18.84 |
Media Library /wp-admin/upload.php | 4.33 ▲1.10 | 40.89 ▲8.93 |
Settings /wp-admin/edit.php?post_type=oa-calendar&page=openagenda | 4.30 | 36.32 |
Add New /wp-admin/post-new.php?post_type=oa-calendar | 7.06 | 379.20 |
All Calendars /wp-admin/edit.php?post_type=oa-calendar | 4.37 | 44.15 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 244 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_openagenda-preview-widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_openagenda-filter-widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for OpenAgenda
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲89 | 14.17 ▼0.17 | 1.88 ▲0.32 | 39.27 ▲1.12 |
Dashboard /wp-admin | 2,226 ▲49 | 5.58 ▼0.09 | 91.83 ▼3.88 | 38.85 ▼3.86 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.01 ▲0.03 | 39.68 ▼2.29 | 35.44 ▼4.66 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 23.29 ▼0.02 | 671.26 ▲55.50 | 66.38 ▲18.58 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.18 ▼0.01 | 96.11 ▼8.03 | 42.29 ▲0.92 |
Settings /wp-admin/edit.php?post_type=oa-calendar&page=openagenda | 961 | 2.10 | 23.34 | 38.33 |
Add New /wp-admin/post-new.php?post_type=oa-calendar | 1,682 | 16.68 | 946.71 | 35.13 |
All Calendars /wp-admin/edit.php?post_type=oa-calendar | 1,095 | 1.90 | 34.80 | 30.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_openagenda-filter-widget
- widget_theysaidso_widget
- widget_openagenda-preview-widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 69× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/openagenda/vendor/guzzlehttp/psr7/src/MultipartStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/openagenda/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/openagenda/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/openagenda/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/openagenda/vendor/psr/http-client/src/RequestExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/openagenda/inc/class-openagenda-widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function openagenda_get_field() in wp-content/plugins/openagenda/templates/event-location.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/openagenda/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/openagenda/vendor/guzzlehttp/psr7/src/FnStream.php:16
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Psr7\\Request' not found in wp-content/plugins/openagenda/vendor/guzzlehttp/psr7/src/ServerRequest.php:27
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: calendar, agenda, openagenda, events, event
openagenda/openagenda.php Passed 13 tests
The main PHP script in "OpenAgenda" version 2.8.0 is automatically included on every request by WordPress
52 characters long description:
Display your OpenAgenda data on your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected26,029 lines of code in 226 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 152 | 3,303 | 7,192 | 15,410 |
Markdown | 20 | 1,529 | 0 | 4,118 |
JSON | 17 | 0 | 0 | 3,601 |
CSS | 4 | 202 | 82 | 1,590 |
Sass | 1 | 144 | 5 | 1,125 |
JavaScript | 14 | 8 | 6 | 154 |
SVG | 17 | 0 | 0 | 17 |
XML | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 15.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 27 | |
Traits | 3 | |
Classes | 101 | |
▷ Abstract classes | 1 | 0.99% |
▷ Concrete classes | 100 | 99.01% |
▷ Final classes | 37 | 37.00% |
Methods | 972 | |
▷ Static methods | 151 | 15.53% |
▷ Public methods | 806 | 82.92% |
▷ Protected methods | 48 | 4.94% |
▷ Private methods | 118 | 12.14% |
Functions | 191 | |
▷ Named functions | 86 | 45.03% |
▷ Anonymous functions | 105 | 54.97% |
Constants | 82 | |
▷ Global constants | 3 | 3.66% |
▷ Class constants | 79 | 96.34% |
▷ Public constants | 63 | 79.75% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin