Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.83ms] Passed 4 tests
Server-side resources used by Event Organiser CSV
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.98 ▼1.47 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.21 ▼2.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.07 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.20 ▼9.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.67 ▲2.97 |
Import / Export Events /wp-admin/tools.php?page=eo-csv-import | 3.18 | 27.64 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Event Organiser CSV: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.27 ▼1.32 | 4.90 ▲2.99 | 43.86 ▼4.63 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.06 | 95.15 ▼4.02 | 38.51 ▼7.87 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.03 | 34.76 ▲0.23 | 34.17 ▲3.78 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 18.63 ▲0.58 | 607.13 ▲5.73 | 59.51 ▲10.51 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▼0.01 | 106.61 ▲0.56 | 45.81 ▲1.55 |
Import / Export Events /wp-admin/tools.php?page=eo-csv-import | 800 | 1.72 | 25.86 | 31.09 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=eo-csv-import
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/tools.php?page=eo-csv-import
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/event-organiser-csv/includes/class-eo-csv-events-export.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/event-organiser-csv/event-organiser-csv.php:38
- > PHP Fatal error
Uncaught Error: Class 'EO_CSV_Parser' not found in wp-content/plugins/event-organiser-csv/includes/class-eo-event-csv-parser.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/tools.php?page=eo-csv-import
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: eo_csv_data is not defined" "ReferenceError: eo_csv_data is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/event-organiser-csv/assets/js/event_organiser_csv.min.js?ver=0.3.2:2:2629)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/tools.php?page=eo-csv-import
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: eo_csv_data is not defined
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: event, import, csv
event-organiser-csv/event-organiser-csv.php Passed 13 tests
The main PHP script in "Event Organiser CSV" version 0.3.2 is automatically included on every request by WordPress
32 characters long description:
Import and Export events via CSV
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,598 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 290 | 245 | 712 |
JavaScript | 3 | 121 | 242 | 675 |
Markdown | 1 | 44 | 0 | 112 |
CSS | 2 | 21 | 12 | 99 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 21.17 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 1 | 1.75% |
▷ Public methods | 54 | 94.74% |
▷ Protected methods | 3 | 5.26% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin