Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.50ms] Passed 4 tests
Server-side resources used by Export events to CSV (Addon for Events Manager)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.02 ▲1.74 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.16 ▼16.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.34 ▼2.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.48 ▼11.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.48 ▲3.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Export events to CSV (Addon for Events Manager): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.05 ▼0.30 | 1.62 ▼0.06 | 44.63 ▼0.22 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▼0.01 | 90.37 ▼1.55 | 40.78 ▼3.48 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.04 | 39.06 ▲3.46 | 35.29 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.16 ▲0.07 | 659.63 ▼46.57 | 51.72 ▼1.69 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▲0.05 | 102.82 ▼4.62 | 42.10 ▼4.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/export-em-events-to-csv/export-em-events-to-csv.php
- > /wp-content/plugins/export-em-events-to-csv/trunk/export-em-events-to-csv.php
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== export-em-events-to-csv ===
)
export-em-events-to-csv/export-em-events-to-csv.php Passed 13 tests
The entry point to "Export events to CSV (Addon for Events Manager)" version 1.3 is a PHP file that has certain tags in its header comment area
55 characters long description:
Exports all Events and their locations into a CSV file.
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
Everything looks great! No dangerous files found in this plugin343 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 119 | 213 | 257 |
PO File | 1 | 16 | 16 | 66 |
Markdown | 1 | 11 | 0 | 20 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 22 | 52.38% |
▷ Protected methods | 6 | 14.29% |
▷ Private methods | 14 | 33.33% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected