Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼3.09ms] 75% from 4 tests
Server-side resources used by Profile Master for Elementor
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 1,092.73ms on /wp-admin/admin.php?page=profilemaster-library)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 54.36 ▲10.88 |
Dashboard /wp-admin | 3.77 ▲0.47 | 56.62 ▲2.38 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 51.37 ▼5.08 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 89.77 ▼15.62 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 44.53 ▲5.96 |
Profile master /wp-admin/admin.php?page=profilemaster-settings | 3.59 | 37.36 |
Library /wp-admin/admin.php?page=profilemaster-library | 3.83 | 1,092.73 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
profilemaster_api_response |
Browser metrics Passed 4 tests
Checking browser requirements for Profile Master for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲195 | 13.67 ▼0.89 | 11.49 ▲9.75 | 47.62 ▲1.33 |
Dashboard /wp-admin | 2,219 ▲39 | 5.68 ▲0.07 | 95.38 ▲6.04 | 45.69 ▼1.09 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.19 ▲0.22 | 35.61 ▼1.09 | 37.64 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 23.18 ▼0.03 | 648.16 ▼11.36 | 32.53 ▼20.27 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.24 ▲0.04 | 101.70 ▼1.52 | 41.58 ▼3.58 |
Profile master /wp-admin/admin.php?page=profilemaster-settings | 824 | 1.94 | 27.72 | 39.10 |
Library /wp-admin/admin.php?page=profilemaster-library | 846 | 1.76 | 25.11 | 27.12 |
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 detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- profilemaster_api_response
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Almost there! Just fix the following items
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function profilemaster() in wp-content/plugins/profile-master/widgets/khulna/views/template-1.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/profile-master/includes/classes/class-functions.php:169
- > PHP Warning
array_map() expects parameter 1 to be a valid callback, function 'sanitize_text_field' not found or invalid function name in wp-content/plugins/profile-master/templates/settings-dashboard.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function profilemaster() in wp-content/plugins/profile-master/widgets/khulna/views/template-2.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function profilemaster() in wp-content/plugins/profile-master/widgets/slider/views/template-2.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function profilemaster() in wp-content/plugins/profile-master/templates/settings-dashboard.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/profile-master/templates/template-groups.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function profilemaster() in wp-content/plugins/profile-master/widgets/slider/views/template-1.php:20
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/profile-master/includes/classes/class-widget-base.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profile-master/includes/classes/class-hooks.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=profilemaster-library
- > Network (severe)
wp-content/plugins/profile-master/assets/admin/css/select2.min.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=profilemaster-library
- > Network (severe)
wp-content/plugins/profile-master/assets/admin/js/select2.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Widgets List)
profile-master/profile-master.php Passed 13 tests
Analyzing the main PHP file in "Profile Master for Elementor" version 2.0.0
53 characters long description:
Profile master is a Addon for Elemntor Profile Making
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected19,617 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 2,911 | 64 | 15,458 |
PHP | 16 | 1,084 | 765 | 4,057 |
JavaScript | 3 | 29 | 39 | 102 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 54.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 297.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 100 | 84.75% |
▷ Protected methods | 4 | 3.39% |
▷ Private methods | 14 | 11.86% |
Functions | 10 | |
▷ Named functions | 7 | 70.00% |
▷ Anonymous functions | 3 | 30.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/feature.png | 48.39KB | 48.35KB | 0.08% |
assets/images/shape-1.png | 5.77KB | 2.54KB | ▼ 55.92% |
assets/images/logo.png | 14.74KB | 6.82KB | ▼ 53.71% |