Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼139.24ms] Passed 4 tests
Server-side resources used by Display Team Members WordPress Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.17 ▲0.44 | 39.52 ▲17.77 |
Dashboard /wp-admin | 3.50 ▲0.44 | 49.68 ▲0.23 |
Posts /wp-admin/edit.php | 3.54 ▲0.43 | 51.24 ▲8.67 |
Add New Post /wp-admin/post-new.php | 5.80 ▲0.36 | 108.61 ▼555.75 |
Media Library /wp-admin/upload.php | 3.37 ▲0.36 | 33.71 ▼10.10 |
All Team Members /wp-admin/edit.php?post_type=evdpl_team_members | 3.47 | 40.78 |
Add New Team Member /wp-admin/post-new.php?post_type=evdpl_team_members | 3.54 | 53.29 |
Team Category /wp-admin/edit-tags.php?taxonomy=evdpl_team_member_category&post_type=evdpl_team_members | 3.37 | 37.57 |
Create Shortcode /wp-admin/edit.php?post_type=evdpl_mem_shortcode | 3.47 | 38.39 |
Server storage [IO: ▲4.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 301 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Display Team Members WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,839 ▲243 | 16.19 ▲0.58 | 13.51 ▲3.96 | 50.79 ▼4.78 |
Dashboard /wp-admin | 3,009 ▲78 | 5.86 ▼0.06 | 141.49 ▼28.94 | 137.37 ▲11.29 |
Posts /wp-admin/edit.php | 2,788 ▲52 | 2.59 ▼0.11 | 68.00 ▼3.92 | 89.54 ▼6.88 |
Add New Post /wp-admin/post-new.php | 1,715 ▲121 | 18.77 ▼0.09 | 396.94 ▼0.55 | 110.64 ▼4.85 |
Media Library /wp-admin/upload.php | 1,870 ▲63 | 5.03 ▲0.01 | 135.76 ▼29.40 | 147.13 ▲15.57 |
All Team Members /wp-admin/edit.php?post_type=evdpl_team_members | 1,494 | 2.54 | 67.84 | 79.45 |
Add New Team Member /wp-admin/post-new.php?post_type=evdpl_team_members | 3,797 | 9.90 | 259.68 | 180.68 |
Team Category /wp-admin/edit-tags.php?taxonomy=evdpl_team_member_category&post_type=evdpl_team_members | 1,812 | 2.49 | 61.94 | 86.95 |
Create Shortcode /wp-admin/edit.php?post_type=evdpl_mem_shortcode | 1,476 | 2.62 | 63.05 | 85.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=evdpl_team_members
- > Notice in wp-content/plugins/display-team-members/admin/framework/classes/metabox.php+79
Trying to access array offset on value of type bool
SRP 0% 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
Please take a closer look at the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/display-team-members/admin/framework/templates/settings/global/header.php
- > /wp-content/plugins/display-team-members/admin/framework/templates/settings/modern/footer.php
- > /wp-content/plugins/display-team-members/admin/framework/templates/settings/global/footer.php
- 26× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: class in wp-content/plugins/display-team-members/admin/framework/templates/settings/simple/header.php on line 3
- > PHP Notice
Undefined variable: theme in wp-content/plugins/display-team-members/admin/framework/templates/settings/global/header.php on line 1
- > PHP Notice
Undefined variable: class in wp-content/plugins/display-team-members/admin/framework/templates/settings/render.php on line 5
- > PHP Notice
Undefined variable: class in wp-content/plugins/display-team-members/admin/framework/templates/settings/modern/body.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function evdpl_mem_get_post_meta() in wp-content/plugins/display-team-members/templates/templates-one.php:2
- > PHP Notice
Undefined variable: class in wp-content/plugins/display-team-members/admin/framework/templates/settings/simple/body.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function is_single_page() on null in wp-content/plugins/display-team-members/admin/framework/templates/settings/render.php:5
- > PHP Warning
Use of undefined constant WPSF_VERSION - assumed 'WPSF_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/display-team-members/admin/framework/templates/settings/modern/footer.php on line 4
- > PHP Notice
Undefined variable: class in wp-content/plugins/display-team-members/admin/framework/templates/settings/simple/footer.php on line 7
- > PHP Notice
Undefined variable: title in wp-content/plugins/display-team-members/admin/framework/templates/settings/simple/header.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
display-team-members/main.php 77% from 13 tests
The principal PHP file in "Display Team Members WordPress Plugin" v. 1.2.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Name the main plugin file the same as the plugin slug ("display-team-members.php" instead of "main.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected30,228 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 23 | 2,298 | 257 | 11,184 |
JavaScript | 29 | 2,473 | 1,535 | 9,374 |
PHP | 70 | 943 | 935 | 4,466 |
SVG | 2 | 0 | 3 | 2,758 |
Sass | 6 | 349 | 0 | 1,739 |
PO File | 7 | 306 | 334 | 705 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short 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.53 |
Average class complexity | 16.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 2 | 5.00% |
▷ Concrete classes | 38 | 95.00% |
▷ Final classes | 0 | 0.00% |
Methods | 187 | |
▷ Static methods | 3 | 1.60% |
▷ Public methods | 163 | 87.17% |
▷ Protected methods | 4 | 2.14% |
▷ Private methods | 20 | 10.70% |
Functions | 64 | |
▷ Named functions | 64 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
136 compressed PNG files occupy 0.33MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/framework/assets/css/themes/square-aero.png | 2.12KB | 1.83KB | ▼ 13.71% |
admin/framework/assets/css/themes/minimal-orange@2x.png | 1.37KB | 2.66KB | 0.00% |
admin/framework/assets/css/themes/minimal-pink@2x.png | 1.38KB | 2.66KB | 0.00% |
admin/framework/assets/css/themes/flat-green@2x.png | 3.04KB | 2.84KB | ▼ 6.54% |
admin/framework/assets/css/themes/flat-blue.png | 1.48KB | 1.65KB | 0.00% |