Benchmarks
Plugin footprint 82% 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.64MB] [CPU: ▲3.16ms] 75% from 4 tests
A check of server-side resources used by WP WDFY Integration of Wodify
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 2,541.52ms on /wp-admin/options-general.php?page=wp-wdfy-integration-of-wodify)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.64 | 42.48 ▲0.63 |
Dashboard /wp-admin | 3.94 ▲0.64 | 51.49 ▲2.73 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 50.95 ▲4.39 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 96.66 ▲9.65 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 38.73 ▲4.87 |
Wodify Integration /wp-admin/options-general.php?page=wp-wdfy-integration-of-wodify | 3.88 | 2,541.52 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 37 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_sos_wodify_classes_widget |
widget_sos_wodify_wod_widget |
wdfy_wodpublish_cron |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
wdfy_classes_cron |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP WDFY Integration of Wodify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲11 | 14.29 ▲0.02 | 1.76 ▼0.15 | 39.01 ▼4.99 |
Dashboard /wp-admin | 2,201 ▲27 | 5.61 ▲0.02 | 93.90 ▼12.42 | 39.35 ▼6.59 |
Posts /wp-admin/edit.php | 2,103 ▲24 | 1.98 ▼0.05 | 35.99 ▲0.16 | 32.73 ▼1.81 |
Add New Post /wp-admin/post-new.php | 6,367 ▲4,841 | 27.52 ▲6.23 | 814.74 ▲145.81 | 66.07 ▲18.44 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.17 ▼0.09 | 98.39 ▲0.26 | 40.64 ▼1.70 |
Wodify Integration /wp-admin/options-general.php?page=wp-wdfy-integration-of-wodify | 3,450 | 2.17 | 25.21 | 29.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- db_upgraded
- widget_sos_wodify_wod_widget
- widget_recent-posts
- wdfy_wodpublish_cron
- widget_theysaidso_widget
- widget_sos_wodify_classes_widget
- theysaidso_admin_options
- wdfy_classes_cron
- can_compress_scripts
- wodify_timezone
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp-wdfy-integration-of-wodify
- > Notice in wp-content/plugins/wp-wdfy-integration-of-wodify/soswodify.php+1163
Undefined variable: wdfy_alexa_magicnumber
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
Almost there! Just fix the following items
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/widgets/wodify_wod_widget.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/shortcodes.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/soswodify.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/blocks.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/functions/eventlist.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/functions/diagnostic.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/functions/wodify_api.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/widgets/wodify_classes_widget.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/restapi.php
- > /wp-content/plugins/wp-wdfy-integration-of-wodify/functions/functions.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: wodify, crossfit
wp-wdfy-integration-of-wodify/soswodify.php 92% from 13 tests
The principal PHP file in "WP WDFY Integration of Wodify" v. 3.18 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-wdfy-integration-of-wodify.php" instead of "soswodify.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected5,920 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 656 | 206 | 3,737 |
PO File | 2 | 470 | 497 | 1,549 |
JavaScript | 5 | 101 | 16 | 343 |
CSS | 2 | 31 | 1 | 290 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 110)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 114.75 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 173.00 |
Average method complexity | 17.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 110.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 10 | 35.71% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 30 | 76.92% |
▷ Anonymous functions | 9 | 23.08% |
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
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 0.24MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/white_123x30.png | 4.59KB | 3.19KB | ▼ 30.58% |
img/calendar.png | 1.05KB | 0.83KB | ▼ 20.95% |
img/Wodify_Horizontal_color_256.png | 9.13KB | 4.10KB | ▼ 55.08% |
img/white_206x50.png | 2.46KB | 2.29KB | ▼ 7.06% |
img/black_206x50.png | 5.51KB | 2.97KB | ▼ 46.17% |