Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼300.76ms] Passed 4 tests
A check of server-side resources used by EventOn - AcyMailing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 53.56 ▲5.55 |
Dashboard /wp-admin | 3.42 ▲0.01 | 33.69 ▲0.74 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 37.35 ▲1.06 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 95.58 ▼1,195.67 |
Media Library /wp-admin/upload.php | 3.31 ▲0.00 | 22.84 ▼9.16 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by EventOn - AcyMailing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲19 | 15.74 ▼0.27 | 5.59 ▼0.90 | 2.05 ▼0.01 |
Dashboard /wp-admin | 2,895 ▲34 | 6.16 ▼0.01 | 119.78 ▼12.31 | 154.02 ▼5.68 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.36 ▼0.01 | 61.90 ▼3.69 | 140.55 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,661 ▼50 | 16.67 ▼5.25 | 414.95 ▼20.65 | 150.73 ▼7.08 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.51 ▼0.01 | 137.34 ▼4.56 | 186.59 ▼3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-integration-for-eventon/acymailing-eventon.php:13
- > PHP Fatal error
Uncaught Error: Class 'AcyMailing\\Libraries\\acymPlugin' not found in wp-content/plugins/acymailing-integration-for-eventon/plugin.php:6
- > 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 your attention:
- Screenshots: Please add images for these screenshots: #1 (Editor), #2 (Render), #3 (Custom view)
acymailing-integration-for-eventon/acymailing-eventon.php 92% from 13 tests
The entry point to "EventOn - AcyMailing" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("acymailing-integration-for-eventon.php" instead of "acymailing-eventon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin607 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 123 | 26 | 607 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 101.00 |
▷ Minimum class complexity | 101.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 7.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 1 | 7.69% |
▷ Private methods | 2 | 15.38% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 14.82KB | 6.65KB | ▼ 55.13% |
banner.png | 8.29KB | 7.98KB | ▼ 3.77% |