Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.62ms] Passed 4 tests
A check of server-side resources used by myCred for Events Manager Pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.57 ▼6.26 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.79 ▼6.66 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.20 ▼6.14 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.80 ▼11.42 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 34.43 ▲0.01 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for myCred for Events Manager Pro
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.27 ▼0.07 | 2.07 ▲0.27 | 39.14 ▼7.51 |
Dashboard /wp-admin | 2,195 ▲15 | 5.51 ▼0.11 | 84.04 ▼15.73 | 41.34 ▼4.22 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▼0.08 | 34.12 ▼7.12 | 30.93 ▼4.43 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.17 ▼0.33 | 680.94 ▼9.48 | 53.44 ▲0.49 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.17 ▼0.05 | 97.61 ▼0.75 | 41.59 ▼0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/mycred-for-events-manager-pro/mycred-events-manager.php:97
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in mycred-for-events-manager-pro/assets to your readme.txt
mycred-for-events-manager-pro/mycred-events-manager.php 77% from 13 tests
"myCred for Events Manager Pro" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for 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 ("mycred-for-events-manager-pro.php" instead of "mycred-events-manager.php")
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "WP 4.0")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Everything looks great! No dangerous files found in this plugin918 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 372 | 267 | 760 |
PO File | 1 | 63 | 63 | 158 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 49.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 43 | |
▷ Static methods | 1 | 2.33% |
▷ Public methods | 42 | 97.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
PNG images were not found in this plugin