Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.56ms] Passed 4 tests
This is a short check of server-side resources used by SOWPROG import The events calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 33.63 ▼7.16 |
Dashboard /wp-admin | 3.41 ▲0.10 | 47.61 ▲0.09 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 41.46 ▼8.42 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 88.98 ▼15.91 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.53 ▼6.75 |
SOWPROG (TEC) /wp-admin/tools.php?page=sowprog-import-the-events-calendar/sowprog_import_tribeeventscalendar.php | 3.30 | 32.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SOWPROG import The events calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.33 ▼1.05 | 4.22 ▲2.22 | 38.28 ▼4.79 |
Dashboard /wp-admin | 2,213 ▲28 | 4.83 ▼0.06 | 101.98 ▼30.18 | 40.78 ▼4.92 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.06 | 38.91 ▼2.87 | 32.53 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,536 ▲9 | 23.28 ▲5.09 | 747.35 ▲46.02 | 62.98 ▼2.37 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▲0.01 | 99.95 ▼12.29 | 42.35 ▼15.28 |
SOWPROG (TEC) /wp-admin/tools.php?page=sowprog-import-the-events-calendar/sowprog_import_tribeeventscalendar.php | 912 | 2.06 | 26.93 | 28.13 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sowprog-import-the-events-calendar/sowprog_import_tribeeventscalendar.php:762
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== sowprog-import-the-events-calendar ===
)
sowprog-import-the-events-calendar/sowprog_import_tribeeventscalendar.php 92% from 13 tests
The main PHP script in "SOWPROG import The events calendar" version 0.11 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sowprog-import-the-events-calendar.php" instead of "sowprog_import_tribeeventscalendar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin612 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 113 | 43 | 612 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 120.00 |
▷ Minimum class complexity | 120.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 8.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
There are no PNG files in this plugin