Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼295.80ms] Passed 4 tests
This is a short check of server-side resources used by KC S2M+MC
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.20 | 53.66 ▲4.52 |
Dashboard /wp-admin | 3.54 ▲0.14 | 34.28 ▲1.00 |
Posts /wp-admin/edit.php | 3.77 ▲0.13 | 40.88 ▲3.63 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.05 | 96.97 ▼1,181.41 |
Media Library /wp-admin/upload.php | 3.42 ▲0.12 | 25.37 ▼6.40 |
KC S2M+MC /wp-admin/options-general.php?page=kc_s2m_mc | 3.39 | 22.89 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for KC S2M+MC
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲46 | 15.90 ▲0.30 | 5.70 ▼0.11 | 2.29 ▲0.08 |
Dashboard /wp-admin | 2,897 ▲36 | 6.13 ▼0.07 | 119.41 ▼14.24 | 154.74 ▼4.46 |
Posts /wp-admin/edit.php | 2,696 ▲8 | 3.24 ▼0.00 | 64.04 ▲1.50 | 142.89 ▲5.26 |
Add New Post /wp-admin/post-new.php | 1,763 ▲11 | 22.08 ▲1.20 | 415.38 ▼33.58 | 161.45 ▲3.24 |
Media Library /wp-admin/upload.php | 1,703 ▲2 | 5.47 ▼0.01 | 151.38 ▼6.86 | 191.65 ▼6.74 |
KC S2M+MC /wp-admin/options-general.php?page=kc_s2m_mc | 1,004 | 2.41 | 54.54 | 106.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/kc-s2mmc/kc-s2m-mc-free.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Admin area if s2Member® is not installed or MailChimp® API key is not set.), #2 (Admin area with two lists not synchronized.), #3 (Admin area, ideal case.)
kc-s2mmc/kc-s2m-mc-free.php 85% from 13 tests
The main PHP file in "KC S2M+MC" ver. 2016.12.12 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("kc-s2mmc.php" instead of "kc-s2m-mc-free.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,001 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 90 | 191 | 658 |
PO File | 4 | 83 | 129 | 343 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.67% |
Functions | 25 | |
▷ Named functions | 25 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin