Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.70ms] Passed 4 tests
A check of server-side resources used by Frontend Profile Genius
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.05 ▼0.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.71 ▼3.98 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.12 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 92.04 ▼6.60 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.80 ▲1.22 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Frontend Profile Genius
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲169 | 13.60 ▼0.77 | 7.64 ▲6.01 | 41.11 ▲0.31 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▼0.07 | 100.65 ▼7.06 | 40.91 ▼3.98 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.02 ▼0.03 | 35.01 ▼6.41 | 33.51 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,532 ▼10 | 23.21 ▲4.98 | 585.31 ▼18.46 | 61.13 ▼1.84 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.23 ▲0.04 | 106.70 ▲4.06 | 46.67 ▲3.34 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/frontend-profile-genius/ui/help/edit/page/shortcode.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The default profile form uses simple HTML markup, and inherits the CSS from your current theme.), #2 (You will see this warning if you've used the shortcode on a post type, other than page.), #3 (Look for the User icon in the Visual text editor to insert the shortcode into your page copy.), #4 (The Text editor also provides a convenient button to insert the shortcode into your page copy.), #5 (A user must actively acknowledge their intent to delete their account, and must provide the current password to do so.)
frontend-profile-genius/index.php 85% from 13 tests
"Frontend Profile Genius" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("frontend-profile-genius.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 177 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected479 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 63 | 66 | 462 |
JavaScript | 2 | 1 | 1 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 56.25% |
▷ Protected methods | 10 | 31.25% |
▷ Private methods | 4 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.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
5 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 19.54KB | 8.23KB | ▼ 57.87% |
screenshot-4.png | 20.98KB | 9.68KB | ▼ 53.89% |
screenshot-5.png | 12.57KB | 4.98KB | ▼ 60.40% |
screenshot-1.png | 31.97KB | 11.83KB | ▼ 63.00% |
screenshot-3.png | 35.88KB | 13.58KB | ▼ 62.15% |