Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.20MB] [CPU: ▼7.17ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Member Jogging Platform
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 42.95 ▲1.38 |
Dashboard /wp-admin | 3.52 ▲0.17 | 48.77 ▼13.69 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 47.99 ▼1.58 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 85.75 ▼14.79 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.71 ▲2.53 |
Uninstall UMJP /wp-admin/admin.php?page=uninstall | 3.41 | 32.04 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 41 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_jogging_data |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
umjp_currentMonth |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Member Jogging Platform
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.32 ▼1.05 | 1.70 ▼0.17 | 41.53 ▼0.38 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲1.03 | 96.01 ▼8.86 | 37.42 ▼5.63 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.03 | 38.21 ▼3.02 | 33.52 ▼2.43 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.44 ▼0.04 | 676.79 ▼8.72 | 56.64 ▲2.66 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.01 | 96.05 ▼7.97 | 40.51 ▼4.59 |
Uninstall UMJP /wp-admin/admin.php?page=uninstall | 762 | 2.02 | 24.13 | 27.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- The uninstall procedure failed, leaving 1 table in the database
- wp_jogging_data
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- umjp_currentMonth
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/um-jogging-platform/umjp-init.php
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to get property 'progress' of non-object in wp-content/plugins/um-jogging-platform/templates/umjp-progress-chart-template.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function get_advice() on null in wp-content/plugins/um-jogging-platform/templates/umjp-advice-output-template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/um-jogging-platform/templates/umjp-progress-template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_meta() in wp-content/plugins/um-jogging-platform/templates/umjp-enter-data-template.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function get_Leaderboards_data() on null in wp-content/plugins/um-jogging-platform/templates/umjp-leaderboards-template.php:4
- > PHP Notice
Trying to get property 'advice' of non-object in wp-content/plugins/um-jogging-platform/templates/umjp-advice-output-template.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/um-jogging-platform/templates/umjp-uninstall-template.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/um-jogging-platform/templates/umjp-profile-template.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_data() on null in wp-content/plugins/um-jogging-platform/templates/umjp-progress-chart-template.php:4
- > PHP Notice
Trying to get property 'leaderboards' of non-object in wp-content/plugins/um-jogging-platform/templates/umjp-leaderboards-template.php on line 4
- > PHP Notice
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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: ultimate member, running, social, health, jogging
um-jogging-platform/umjp-init.php 92% from 13 tests
"Ultimate Member Jogging Platform" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("um-jogging-platform.php" instead of "umjp-init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected3,606 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 749 | 65 | 2,055 |
CSS | 9 | 270 | 87 | 1,211 |
JavaScript | 6 | 132 | 29 | 340 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 12.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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 files were detected