Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.73ms] Passed 4 tests
An overview of server-side resources used by Upcoming for Calendly
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.77 ▲1.85 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.08 ▼14.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.33 ▼2.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.31 ▼12.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.85 ▲5.72 |
Upcoming Events for Calendly /wp-admin/options-general.php?page=uefc-settings | 3.20 | 29.91 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Upcoming for Calendly
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.35 ▼0.03 | 1.69 ▲0.06 | 47.90 ▲8.92 |
Dashboard /wp-admin | 2,202 ▲22 | 5.67 ▲0.09 | 82.84 ▼4.97 | 37.70 ▼0.96 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.06 | 35.76 ▲0.63 | 33.53 ▼4.95 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.11 ▲0.21 | 655.46 ▲9.41 | 62.61 ▲7.64 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.04 | 106.94 ▲1.86 | 47.52 ▲2.07 |
Upcoming Events for Calendly /wp-admin/options-general.php?page=uefc-settings | 822 | 1.99 | 24.55 | 29.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/upcoming-for-calendly/includes/settings.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/upcoming-for-calendly/includes/shortcode.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/upcoming-for-calendly/includes/settings.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: calendly, calendly-api
upcoming-for-calendly/upcoming-for-calendly.php Passed 13 tests
The principal PHP file in "Upcoming for Calendly" v. 1.2.3 is loaded by WordPress automatically on each request
46 characters long description:
Upcoming Events Registration List for Calendly
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin179 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 11 | 92 | 152 |
Markdown | 2 | 20 | 0 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 6.79KB | 3.63KB | ▼ 46.59% |
assets/icon-256x256.png | 15.15KB | 7.73KB | ▼ 48.98% |
assets/screenshot-1.png | 18.58KB | 9.87KB | ▼ 46.87% |
assets/screenshot-2.png | 3.71KB | 2.48KB | ▼ 33.04% |