Benchmarks
Plugin footprint 65% 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.83MB] [CPU: ▼33.24ms] Passed 4 tests
Analyzing server-side resources used by Fitness Calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 48.98 ▲7.28 |
Dashboard /wp-admin | 3.12 ▼0.22 | 23.85 ▼33.36 |
Posts /wp-admin/edit.php | 3.13 ▼0.23 | 24.82 ▼23.78 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.76 | 27.04 ▼67.47 |
Media Library /wp-admin/upload.php | 3.12 ▼0.10 | 25.58 ▼8.33 |
Add New /wp-admin/admin.php?page=add-new | 3.13 | 24.96 |
Listing /wp-admin/admin.php?page=calendar-plugin | 3.13 | 23.14 |
Server storage [IO: ▲0.90MB] [DB: ▲0.31MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
jal_db_version |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Fitness Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲220 | 13.59 ▼1.06 | 9.55 ▲7.76 | 34.93 ▼7.80 |
Dashboard /wp-admin | 2,243 ▲58 | 5.86 ▼0.02 | 101.81 ▲1.06 | 47.40 ▲6.38 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.04 ▲0.04 | 41.54 ▼0.60 | 43.85 ▲5.37 |
Add New Post /wp-admin/post-new.php | 1,398 ▼130 | 21.65 ▲3.34 | 534.13 ▼67.60 | 36.36 ▼26.58 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.30 ▲0.11 | 97.54 ▲2.60 | 42.54 ▲0.27 |
Add New /wp-admin/admin.php?page=add-new | 1,477 | 1.68 | 28.24 | 42.57 |
Listing /wp-admin/admin.php?page=calendar-plugin | 1,094 | 2.04 | 27.35 | 38.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- jal_db_version
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=calendar-plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+632
Undefined index: nonce
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+808
Undefined index: description
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+823
Undefined index: video_title1
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+829
Undefined index: video1
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+921
Undefined index: set1
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+839
Undefined index: rep1
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+844
Undefined index: description1
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+850
Undefined index: video_title2
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+856
Undefined index: video2
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+861
Undefined index: set2
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+866
Undefined index: rep2
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+871
Undefined index: description2
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+878
Undefined index: video_title3
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+884
Undefined index: video3
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+889
Undefined index: set3
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+894
Undefined index: rep3
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+899
Undefined index: description3
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+905
Undefined index: video_title4
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+911
Undefined index: video4
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+916
Undefined index: rep4
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+926
Undefined index: description4
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+932
Undefined index: video_title5
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+938
Undefined index: video5
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+943
Undefined index: set5
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+948
Undefined index: rep5
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+953
Undefined index: description5
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+959
Undefined index: video_title6
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+965
Undefined index: video6
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+970
Undefined index: set6
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+975
Undefined index: rep6
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+980
Undefined index: description6
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+987
Undefined index: video_title7
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+993
Undefined index: video7
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+998
Undefined index: set7
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+1003
Undefined index: rep7
- > GET request to /wp-admin/admin.php?page=add-new
- > Notice in wp-content/plugins/fitness-calendar/calendar-plugin.php+1008
Undefined index: description7
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 add_action() in wp-content/plugins/fitness-calendar/calendar-plugin.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (you can see plugin menu in admin bar as shown in screenshot-1.), #2 (You can add videos through add new video form as shown in screenshot-2.), #3 (you can add upto 7 featured videos with one main video as shown in screenshot-3.), #4 (You can see featured videos with title sets and reps of workout in screenshot-4.), #5 (You can see video with week title , video title , rest time , equipments etc in screenshot-5.)
fitness-calendar/calendar-plugin.php 85% from 13 tests
The main PHP script in "Fitness Calendar" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("fitness-calendar.php" instead of "calendar-plugin.php")
- Description: The description should be shorter than 140 characters (currently 180 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,066 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 810 | 113 | 907 |
CSS | 1 | 101 | 0 | 137 |
JavaScript | 1 | 6 | 1 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.85MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 18.80KB | 10.61KB | ▼ 43.54% |
assets/screenshot-1.png | 19.97KB | 12.14KB | ▼ 39.20% |
assets/screenshot-5.png | 579.29KB | 136.52KB | ▼ 76.43% |
assets/screenshot-4.png | 227.88KB | 54.54KB | ▼ 76.06% |
assets/screenshot-3.png | 22.44KB | 12.94KB | ▼ 42.31% |