Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.02MB] [CPU: ▼1.21ms] Passed 4 tests
A check of server-side resources used by Repeat Events
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 45.88 ▲5.08 |
Dashboard /wp-admin | 4.30 ▲1.00 | 54.23 ▼3.29 |
Posts /wp-admin/edit.php | 4.42 ▲1.06 | 53.04 ▲1.29 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.10 | 91.85 ▼7.90 |
Media Library /wp-admin/upload.php | 4.30 ▲1.07 | 44.03 ▲10.54 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 4.33 | 41.73 |
Events /wp-admin/edit.php?post_type=bluebox_repeat_event | 4.27 | 37.46 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 4.26 | 38.41 |
Add New /wp-admin/post-new.php?post_type=bluebox_repeat_event | 4.52 | 61.64 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 4.44 | 56.02 |
Server storage [IO: ▲8.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 249 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
acf_version |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Repeat Events
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲63 | 14.35 ▲0.15 | 1.70 ▼0.09 | 44.35 ▲4.05 |
Dashboard /wp-admin | 2,255 ▲84 | 5.63 ▲0.04 | 90.53 ▼1.36 | 41.77 ▼1.41 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.02 ▲0.01 | 35.41 ▼5.25 | 36.05 ▼4.36 |
Add New Post /wp-admin/post-new.php | 6,707 ▲5,181 | 28.70 ▲5.54 | 1,162.85 ▲481.83 | 40.84 ▼14.68 |
Media Library /wp-admin/upload.php | 1,995 ▲592 | 8.28 ▲4.03 | 216.74 ▲113.02 | 53.98 ▲4.96 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,246 | 2.20 | 36.53 | 32.50 |
Events /wp-admin/edit.php?post_type=bluebox_repeat_event | 1,127 | 1.96 | 31.47 | 28.78 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,181 | 2.97 | 47.61 | 33.42 |
Add New /wp-admin/post-new.php?post_type=bluebox_repeat_event | 2,825 | 10.58 | 237.55 | 68.57 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 2,313 | 3.69 | 81.24 | 42.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- acf_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 81× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/repeat-events/includes/acf/includes/fields/class-acf-field-radio.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/repeat-events/includes/acf/includes/upgrades.php:450
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/repeat-events/includes/acf/includes/fields/class-acf-field-number.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/repeat-events/includes/acf/includes/acf-form-functions.php:4
- > PHP Fatal error
Uncaught Error: Class 'acf_field_number' not found in wp-content/plugins/repeat-events/includes/acf/includes/fields/class-acf-field-range.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/repeat-events/includes/acf/includes/admin/admin-field-group.php:34
- > PHP Warning
include_once(): Failed opening 'BLUEBOX_REPEAT_PLUGIN_DIR/includes/acf/acf.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/repeat-events/src/acf/acf.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/repeat-events/includes/acf/includes/fields/class-acf-field-accordion.php:5
- > PHP Notice
Undefined variable: group_id in wp-content/plugins/repeat-events/includes/acf/includes/admin/views/html-location-group.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/repeat-events/includes/acf/includes/acf-field-group-functions.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: same permalink events, acf events, event series loop, repeat events, events loop...
repeat-events/repeat-events.php Passed 13 tests
Analyzing the main PHP file in "Repeat Events" version 1.0.0
72 characters long description:
A simple repeating events listing plugin to create SEO optimised events.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin89,562 lines of code in 199 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 23,633 | 39,886 | 49,083 |
JavaScript | 14 | 6,721 | 6,687 | 22,545 |
PHP | 138 | 9,660 | 17,496 | 15,975 |
CSS | 12 | 209 | 60 | 1,626 |
JSON | 3 | 0 | 0 | 319 |
Markdown | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 100 | |
▷ Abstract classes | 2 | 2.00% |
▷ Concrete classes | 98 | 98.00% |
▷ Final classes | 0 | 0.00% |
Methods | 669 | |
▷ Static methods | 1 | 0.15% |
▷ Public methods | 668 | 99.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.15% |
Functions | 436 | |
▷ Named functions | 432 | 99.08% |
▷ Anonymous functions | 4 | 0.92% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.94MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 426.39KB | 138.35KB | ▼ 67.55% |
includes/acf/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
assets/screenshot-1.png | 343.49KB | 109.32KB | ▼ 68.17% |
includes/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |