Benchmarks
Plugin footprint Passed 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: ▼292.44ms] Passed 4 tests
An overview of server-side resources used by Modern Events Calendar integration - AcyMailing
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 55.19 ▲6.99 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.96 ▼1.80 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 37.36 ▲0.14 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 94.69 ▼1,162.96 |
Media Library /wp-admin/upload.php | 3.31 ▲0.00 | 25.54 ▼5.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Modern Events Calendar integration - AcyMailing: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲28 | 15.89 ▼0.04 | 5.82 ▼1.03 | 1.98 ▼0.47 |
Dashboard /wp-admin | 2,895 ▲34 | 6.10 ▼0.21 | 124.46 ▼9.27 | 157.25 ▼2.28 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.24 ▼0.00 | 62.46 ▼0.93 | 137.62 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,760 ▼0 | 17.00 ▲0.04 | 421.14 ▲9.59 | 148.77 ▼12.07 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.54 ▲0.00 | 142.59 ▲4.56 | 183.93 ▼6.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-integration-for-modern-events-calendar/acymailing-moderneventscalendar.php:13
- > PHP Fatal error
Uncaught Error: Class 'AcyMailing\\Libraries\\acymPlugin' not found in wp-content/plugins/acymailing-integration-for-modern-events-calendar/plugin.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Editor), #2 (Render), #3 (Custom view)
acymailing-integration-for-modern-events-calendar/acymailing-moderneventscalendar.php 92% from 13 tests
The entry point to "Modern Events Calendar integration - AcyMailing" version 1.8 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("acymailing-integration-for-modern-events-calendar.php" instead of "acymailing-moderneventscalendar.php")
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
No dangerous file extensions were detected811 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 114 | 13 | 811 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 118.00 |
▷ Minimum class complexity | 118.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 6.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 85.71% |
▷ Protected methods | 1 | 4.76% |
▷ Private methods | 2 | 9.52% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 3.63KB | 2.41KB | ▼ 33.71% |