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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.11ms] Passed 4 tests
An overview of server-side resources used by Team Members Showcase
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.03 ▼5.02 |
Dashboard /wp-admin | 3.40 ▲0.10 | 45.92 ▼4.62 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.33 ▲1.82 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 86.96 ▼0.35 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 32.62 ▼2.46 |
Team Free Vs Pro /wp-admin/edit.php?post_type=team_member&page=dazz_team_b_fvp_page | 3.32 | 32.48 |
All Teams /wp-admin/edit.php?post_type=team_member | 3.37 | 36.25 |
Add New Teams /wp-admin/post-new.php?post_type=team_member | 3.46 | 47.28 |
Server storage [IO: ▲1.68MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 8 new options
New WordPress options |
---|
Team_M_default_Settings |
dazz_team_b_review |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Team Members Showcase
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲77 | 13.28 ▼1.02 | 1.70 ▼0.36 | 38.96 ▼3.98 |
Dashboard /wp-admin | 2,234 ▲49 | 4.85 ▼1.03 | 98.02 ▼19.19 | 39.24 ▼7.51 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.01 ▼0.11 | 39.10 ▲3.12 | 34.60 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 17.63 ▲0.06 | 693.80 ▼2.09 | 62.00 ▲0.39 |
Media Library /wp-admin/upload.php | 1,410 ▲25 | 4.27 ▲0.01 | 99.25 ▼11.70 | 43.27 ▼5.74 |
Team Free Vs Pro /wp-admin/edit.php?post_type=team_member&page=dazz_team_b_fvp_page | 1,222 | 2.02 | 25.69 | 36.41 |
All Teams /wp-admin/edit.php?post_type=team_member | 1,094 | 1.93 | 30.90 | 30.32 |
Add New Teams /wp-admin/post-new.php?post_type=team_member | 3,954 | 5.22 | 150.78 | 170.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- Team_M_default_Settings
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- dazz_team_b_review
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/dazzlersoft-teams/ink/admin/fvp.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/post-new.php?post_type=team_member
- > Javascript (severe) in unknown
/wp-content/plugins/dazzlersoft-teams/assets/js/bootstrap.js?ver=6.3.1 14:10 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: There are too many tags (53 tag instead of maximum 10)
dazzlersoft-teams/teams.php 92% from 13 tests
The main PHP script in "Team Members Showcase" version 1.3.4 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dazzlersoft-teams.php" instead of "teams.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
Success! There were no dangerous files found in this plugin14,873 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 1,247 | 116 | 11,269 |
JavaScript | 6 | 642 | 260 | 1,924 |
PHP | 14 | 190 | 77 | 1,680 |
PHP code Passed 2 tests
Analyzing 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.22 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
25 PNG files occupy 0.71MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_469bdd_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/css/images/ui-bg_inset-hard_100_f5f8f9_1x100.png | 0.33KB | 0.13KB | ▼ 60.36% |
assets/tooltip/img/member-desig.png | 27.32KB | 20.58KB | ▼ 24.67% |
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
assets/css/images/ui-icons_217bc0_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |