Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.33MB] [CPU: ▼136.92ms] Passed 4 tests
Analyzing server-side resources used by Team
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.15 ▲0.31 | 40.39 ▲10.65 |
Dashboard /wp-admin | 3.45 ▲0.38 | 44.01 ▲1.73 |
Posts /wp-admin/edit.php | 3.49 ▲0.38 | 45.45 ▲10.97 |
Add New Post /wp-admin/post-new.php | 5.75 ▲0.31 | 83.62 ▼569.32 |
Media Library /wp-admin/upload.php | 3.33 ▲0.32 | 35.76 ▲9.25 |
Designations /wp-admin/edit-tags.php?taxonomy=adl-team-designation&post_type=adl-team | 3.33 | 35.78 |
Shortcode Generator /wp-admin/edit.php?post_type=adl-team-shortcode | 3.47 | 43.26 |
Add New Member /wp-admin/post-new.php?post_type=adl-team | 3.45 | 45.44 |
All Members /wp-admin/edit.php?post_type=adl-team | 3.47 | 48.02 |
Team Slug Settings /wp-admin/edit.php?post_type=adl-team&page=adl-team-settings | 3.31 | 31.30 |
Usage & Support /wp-admin/edit.php?post_type=adl-team&page=usage | 3.34 | 39.42 |
Server storage [IO: ▲1.37MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 74 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Team
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,757 ▲156 | 15.92 ▲0.22 | 5.62 ▼0.13 | 79.73 ▲5.63 |
Dashboard /wp-admin | 2,988 ▲92 | 6.12 ▼0.06 | 115.59 ▼14.77 | 167.67 ▼3.38 |
Posts /wp-admin/edit.php | 2,802 ▲62 | 3.23 ▼0.01 | 65.05 ▲1.79 | 141.96 ▲1.02 |
Add New Post /wp-admin/post-new.php | 3,845 ▲115 | 18.54 ▲3.28 | 420.11 ▼11.61 | 161.16 ▼1.13 |
Media Library /wp-admin/upload.php | 1,807 ▲55 | 5.49 ▼0.05 | 143.56 ▼1.68 | 188.21 ▲5.01 |
Designations /wp-admin/edit-tags.php?taxonomy=adl-team-designation&post_type=adl-team | 1,810 | 2.78 | 57.57 | 127.59 |
Shortcode Generator /wp-admin/edit.php?post_type=adl-team-shortcode | 1,780 | 5.02 | 83.49 | 113.73 |
Add New Member /wp-admin/post-new.php?post_type=adl-team | 4,807 | 12.01 | 231.13 | 240.63 |
All Members /wp-admin/edit.php?post_type=adl-team | 1,774 | 5.03 | 78.07 | 112.05 |
Team Slug Settings /wp-admin/edit.php?post_type=adl-team&page=adl-team-settings | 1,436 | 5.11 | 73.48 | 145.46 |
Usage & Support /wp-admin/edit.php?post_type=adl-team&page=usage | 1,608 | 5.14 | 73.28 | 125.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=adl-team
- > Notice in wp-content/plugins/adl-team/includes/classes/ADL_team_metabox.php+103
Undefined index: _member_image_id
- > GET request to /wp-admin/post-new.php?post_type=adl-team
- > Notice in wp-content/plugins/adl-team/includes/classes/ADL_team_metabox.php+104
Trying to access array offset on value of type bool
- > GET request to /wp-admin/edit.php?post_type=adl-team&page=adl-team-settings
- > Notice in wp-content/plugins/adl-team/includes/classes/ADL_team_settings.php+25
Undefined index: success
SRP 0% 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× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/adl-team/views/themes/style1/partials/style.php
- > /wp-content/plugins/adl-team/includes/classes/ADL_team_helper.php
- > /wp-content/plugins/adl-team/libs/Aq_Resize.php
- > /wp-content/plugins/adl-team/views/themes/style4/partials/style.php
- > /wp-content/plugins/adl-team/Main.php
- > /wp-content/plugins/adl-team/views/upgrade-notice.php
- > /wp-content/plugins/adl-team/includes/classes/ADL_team_custom_post.php
- > /wp-content/plugins/adl-team/adl-team.php
- > /wp-content/plugins/adl-team/views/ajax/skill.php
- > /wp-content/plugins/adl-team/includes/classes/ADL_team_ajax_handler.php
- 115× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: ADL_team in wp-content/plugins/adl-team/views/ajax/social.php on line 8
- > PHP Notice
Array to string conversion in wp-content/plugins/adl-team/views/ajax/social.php on line 5
- > PHP Notice
Undefined variable: themeID in wp-content/plugins/adl-team/views/themes/style4/partials/style.php on line 7
- > PHP Notice
Undefined variable: themeID in wp-content/plugins/adl-team/views/themes/style1/partials/style.php on line 13
- > PHP Warning
array_key_exists() expects parameter 2 to be array, unknown given in wp-content/plugins/adl-team/views/meta-shortcode/partials/select-theme.php on line 2
- > PHP Notice
Undefined variable: args in wp-content/plugins/adl-team/views/themes/style1/index.php on line 3
- > PHP Notice
Undefined variable: themeID in wp-content/plugins/adl-team/views/themes/style1/partials/style.php on line 36
- > PHP Notice
Array to string conversion in wp-content/plugins/adl-team/views/ajax/skill.php on line 9
- > PHP Notice
Undefined variable: args in wp-content/plugins/adl-team/views/meta-team/general.php on line 6
- > PHP Notice
Undefined variable: args in wp-content/plugins/adl-team/views/themes/style1/partials/member.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
6 plugin tags: team profile, team, meet the team, team showcase, teams...
adl-team/adl-team.php 92% from 13 tests
The entry point to "Team" version 1.2.6 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 297 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin6,204 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 554 | 424 | 2,417 |
CSS | 10 | 371 | 118 | 2,164 |
JavaScript | 6 | 205 | 251 | 926 |
SVG | 2 | 0 | 0 | 697 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 13.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 68 | |
▷ Static methods | 1 | 1.47% |
▷ Public methods | 62 | 91.18% |
▷ Protected methods | 1 | 1.47% |
▷ Private methods | 5 | 7.35% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 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
8 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
admin/assets/img/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
public/assets/img/plus-sign.png | 1.08KB | 0.14KB | ▼ 86.92% |
admin/assets/img/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
admin/assets/img/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |