Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.32MB] [CPU: ▼2.15ms] Passed 4 tests
A check of server-side resources used by AMO Team Showcase
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 41.85 ▲1.68 |
Dashboard /wp-admin | 3.68 ▲0.37 | 46.16 ▼0.83 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 49.26 ▲1.49 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 87.68 ▼10.93 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 39.72 ▲4.80 |
Options /wp-admin/edit.php?post_type=amo-team&page=amo-team-options | 3.65 | 39.59 |
Add New Member /wp-admin/post-new.php?post_type=amo-team | 3.79 | 49.65 |
Categories /wp-admin/edit-tags.php?taxonomy=amo-team-category&post_type=amo-team | 3.54 | 36.16 |
All Members /wp-admin/edit.php?post_type=amo-team | 3.59 | 43.57 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 133 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_amoteam-team-members |
db_upgraded |
widget_recent-comments |
amo-team-showcase-system |
theysaidso_admin_options |
amo-team-showcase-css-styles |
amo-team-showcase-options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AMO Team Showcase
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲129 | 13.25 ▼1.07 | 1.98 ▲0.17 | 43.19 ▲6.37 |
Dashboard /wp-admin | 2,271 ▲86 | 5.85 ▼0.09 | 100.62 ▼8.66 | 47.86 ▲6.10 |
Posts /wp-admin/edit.php | 2,158 ▲69 | 2.05 ▲0.00 | 38.82 ▲3.25 | 36.94 ▲6.36 |
Add New Post /wp-admin/post-new.php | 1,577 ▲57 | 23.30 ▲0.07 | 670.83 ▲1.15 | 56.28 ▼9.57 |
Media Library /wp-admin/upload.php | 1,457 ▲72 | 4.31 ▲0.07 | 98.78 ▼5.80 | 45.94 ▼0.83 |
Options /wp-admin/edit.php?post_type=amo-team&page=amo-team-options | 2,837 | 5.15 | 158.94 | 48.01 |
Add New Member /wp-admin/post-new.php?post_type=amo-team | 2,857 | 7.73 | 182.03 | 78.72 |
Categories /wp-admin/edit-tags.php?taxonomy=amo-team-category&post_type=amo-team | 1,342 | 2.34 | 30.60 | 31.05 |
All Members /wp-admin/edit.php?post_type=amo-team | 1,163 | 1.99 | 33.31 | 32.40 |
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
- theysaidso_admin_options
- widget_recent-comments
- widget_amoteam-team-members
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=amo-team
- > Warning in wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/group.view.php+43
Illegal string offset 'social-icon-blocks'
- > GET request to /wp-admin/post-new.php?post_type=amo-team
- > Notice in wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/group.view.php+20
Array to string conversion
- > GET request to /wp-admin/post-new.php?post_type=amo-team
- > Warning in wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/group.view.php+43
Invalid argument supplied for foreach()
SRP 0% 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
Please take a closer look at the following
- 10× PHP files output text when accessed directly:
- > /wp-content/plugins/amo-team-showcase/admin/partials/specific/notice-general.view.php
- > /wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/close-elem.view.php
- > /wp-content/plugins/amo-team-showcase/public/partials/sc-skills.view.php
- > /wp-content/plugins/amo-team-showcase/admin/partials/sub-views/options-page/nav-tabs.view.php
- > /wp-content/plugins/amo-team-showcase/admin/partials/sub-views/general/post-list-thumb.view.php
- > /wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/section-heading.view.php
- > /wp-content/plugins/amo-team-showcase/public/partials/sc-text-block.view.php
- > /wp-content/plugins/amo-team-showcase/admin/partials/specific/ajax-loader.view.php
- > /wp-content/plugins/amo-team-showcase/public/partials/sc-skills-single.view.php
- > /wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/tab-pane-open.view.php
- 151× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: a in wp-content/plugins/amo-team-showcase/public/partials/panel.view.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_screen() in wp-content/plugins/amo-team-showcase/admin/amo-team-showcase-admin-enqueue.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/group.view.php on line 20
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/social-icons.view.php on line 21
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/close-elem.view.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amo-team-showcase/public/partials/panel.view.php on line 45
- > PHP Notice
Undefined variable: a in wp-content/plugins/amo-team-showcase/public/partials/tile-styles/general.view.php on line 40
- > PHP Notice
Undefined index: tab-id in wp-content/plugins/amo-team-showcase/admin/partials/sub-views/form-parts/tab-pane-open.view.php on line 15
- > PHP Notice
Undefined variable: a in wp-content/plugins/amo-team-showcase/admin/partials/specific/notice-general.view.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function _ex() in wp-content/plugins/amo-team-showcase/public/partials/panel.view.php:50
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=amo-team&page=amo-team-options
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=amo-team&page=amo-team-options
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=amo-team&page=amo-team-options
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=amo-team&page=amo-team-options
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: There are too many tags (35 tag instead of maximum 10)
amo-team-showcase/amo-team-showcase.php 92% from 13 tests
The principal PHP file in "AMO Team Showcase" v. 1.1.4 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin9,792 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 75 | 475 | 3,052 |
PHP | 49 | 828 | 1,637 | 2,708 |
LESS | 34 | 795 | 567 | 2,186 |
JavaScript | 10 | 308 | 378 | 1,038 |
PO File | 1 | 259 | 431 | 729 |
SVG | 3 | 35 | 0 | 71 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 17.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 9 | 10.59% |
▷ Public methods | 75 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 11.76% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/image-placeholder.png | 3.34KB | 0.16KB | ▼ 95.17% |