Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼10.17ms] Passed 4 tests
An overview of server-side resources used by Webiots Team Showcase and slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 44.33 ▼0.55 |
Dashboard /wp-admin | 3.40 ▲0.05 | 53.64 ▼19.94 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 53.14 ▲3.07 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.34 ▼19.11 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.18 ▼1.07 |
Add New Team Member /wp-admin/post-new.php?post_type=app_teamshowcase | 3.39 | 53.82 |
Deparment /wp-admin/edit-tags.php?taxonomy=team-department&post_type=app_teamshowcase | 3.31 | 38.81 |
All Team Members /wp-admin/edit.php?post_type=app_teamshowcase | 3.37 | 42.33 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Webiots Team Showcase and slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 13.53 ▼1.03 | 10.55 ▲8.73 | 42.21 ▼3.76 |
Dashboard /wp-admin | 2,231 ▲54 | 5.62 ▲0.02 | 88.30 ▼12.07 | 39.04 ▼6.38 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.02 ▼0.07 | 37.08 ▲3.44 | 30.06 ▼7.50 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.02 ▼0.65 | 676.35 ▼21.02 | 58.04 ▲2.38 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.21 ▼0.05 | 95.92 ▼2.98 | 40.66 ▼7.50 |
Add New Team Member /wp-admin/post-new.php?post_type=app_teamshowcase | 1,834 | 3.56 | 65.09 | 40.18 |
Deparment /wp-admin/edit-tags.php?taxonomy=team-department&post_type=app_teamshowcase | 1,310 | 2.12 | 26.15 | 29.83 |
All Team Members /wp-admin/edit.php?post_type=app_teamshowcase | 1,124 | 1.96 | 31.69 | 31.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webiots-teamshowcase/includes/functions.php:16
- > PHP Notice
Undefined variable: loop in wp-content/plugins/webiots-teamshowcase/templates/slider/slide3.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/webiots-teamshowcase/templates/slider/slide2.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/webiots-teamshowcase/templates/slider/slide1.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/webiots-teamshowcase/templates/slider/slide3.php:7
- > PHP Notice
Undefined variable: loop in wp-content/plugins/webiots-teamshowcase/templates/slider/slide2.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webiots-teamshowcase/includes/functions.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=app_teamshowcase
- > Network (severe)
wp-content/plugins/webiots-teamshowcase/assets/css/style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=app_teamshowcase
- > Network (severe)
wp-content/plugins/webiots-teamshowcase/includes//js/admin.js?ver=1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (grid layout), #2 (gridfilter layout), #3 (carousel layout)
- Tags: You are using too many tags: 11 tag instead of maximum 10
webiots-teamshowcase/teamshowcase.php 85% from 13 tests
The entry point to "Webiots Team Showcase and slider" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("webiots-teamshowcase.php" instead of "teamshowcase.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected3,367 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 476 | 910 | 1,938 |
CSS | 4 | 26 | 15 | 995 |
PHP | 6 | 105 | 61 | 434 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected