Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.41ms] Passed 4 tests
A check of server-side resources used by EndomondoWP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.27 ▲0.88 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.14 ▲3.07 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.60 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.31 ▼12.10 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 39.86 ▲4.37 |
EndomondoWP /wp-admin/options-general.php?page=EndomondoWPPreference | 3.30 | 33.15 |
Server storage [IO: ▲1.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 9 new options
New WordPress options |
---|
ewp_enabled_analityc |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
ewp_ui |
ewp_show_signe |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EndomondoWP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,999 ▲238 | 13.68 ▼0.67 | 1.75 ▲0.13 | 44.54 ▲0.66 |
Dashboard /wp-admin | 2,405 ▲225 | 5.28 ▼0.37 | 101.93 ▲12.28 | 39.15 ▼4.67 |
Posts /wp-admin/edit.php | 2,311 ▲211 | 2.53 ▲0.57 | 53.37 ▲12.91 | 38.36 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,775 ▲249 | 22.92 ▼0.10 | 677.28 ▼1.89 | 49.81 ▲0.29 |
Media Library /wp-admin/upload.php | 1,600 ▲206 | 4.87 ▲0.60 | 124.53 ▲23.65 | 49.67 ▲3.90 |
EndomondoWP /wp-admin/options-general.php?page=EndomondoWPPreference | 1,525 | 2.53 | 45.63 | 47.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/endomondowp/install/ewp-life-cycle.php+41
Use of undefined constant EWP_ANALYTICS - assumed 'EWP_ANALYTICS' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- ewp_enabled_analityc
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× 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/endomondowp/admin/ewp-mgt.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/endomondowp/include/ewp-shortcode.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/endomondowp/install/ewp-life-cycle.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/endomondowp/include/ewp-media-buttom.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/endomondowp/endomondowp.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=EndomondoWPPreference
- > Network (severe)
wp-content/plugins/endomondowp/admin/assets/assets/images/logo_small.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=EndomondoWPPreference
- > Network (severe)
wp-content/plugins/endomondowp/admin/assets/assets/images/code.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=EndomondoWPPreference
- > Network (severe)
wp-content/plugins/endomondowp/admin/assets/assets/images/bug.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=EndomondoWPPreference
- > Network (severe)
wp-content/plugins/endomondowp/admin/assets/assets/images/star.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: wellness, gps, embedding, fitness, sport...
endomondowp/endomondowp.php 92% from 13 tests
"EndomondoWP" version 0.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 299 characters long)
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
There were no executable files found in this plugin1,239 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 162 | 158 | 582 |
JavaScript | 2 | 14 | 3 | 249 |
CoffeeScript | 1 | 41 | 6 | 164 |
LESS | 1 | 13 | 0 | 106 |
CSS | 3 | 2 | 0 | 100 |
SVG | 1 | 0 | 0 | 38 |
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.15 |
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 | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.94MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/code.png | 0.54KB | 0.50KB | ▼ 6.75% |
admin/assets/images/star.png | 0.61KB | 0.42KB | ▼ 32.06% |
admin/assets/images/challenge_p.png | 33.71KB | 12.47KB | ▼ 63.01% |
admin/assets/images/logo.png | 10.41KB | 4.20KB | ▼ 59.67% |
admin/assets/images/workout-list_p.png | 45.68KB | 16.05KB | ▼ 64.86% |