Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.42MB] [CPU: ▼2.02ms] Passed 4 tests
An overview of server-side resources used by Team Member Showcase Staff List Plugin - Employee Spotlight
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 44.09 ▼0.40 |
Dashboard /wp-admin | 3.79 ▲0.45 | 49.95 ▼8.61 |
Posts /wp-admin/edit.php | 3.86 ▲0.51 | 57.37 ▲13.05 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 89.39 ▼9.16 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 43.83 ▲10.08 |
Groups /wp-admin/edit-tags.php?taxonomy=groups&post_type=emd_employee | 3.80 | 41.94 |
Add New /wp-admin/post-new.php?post_type=emd_employee | 3.86 | 55.21 |
Employee Tags /wp-admin/edit-tags.php?taxonomy=employee_tags&post_type=emd_employee | 3.64 | 42.30 |
Locations /wp-admin/edit-tags.php?taxonomy=office_locations&post_type=emd_employee | 3.64 | 39.93 |
Settings /wp-admin/admin.php?page=employee_spotlight_settings | 3.65 | 43.59 |
All Employees /wp-admin/edit.php?post_type=emd_employee | 3.71 | 40.86 |
Custom Fields /wp-admin/admin.php?page=employee_spotlight_cust_fields | 3.62 | 36.77 |
Support /wp-admin/admin.php?page=employee_spotlight_support | 3.68 | 38.45 |
Glossary /wp-admin/admin.php?page=employee_spotlight_glossary | 3.62 | 37.26 |
Plugins /wp-admin/admin.php?page=employee_spotlight_store | 3.69 | 35.39 |
Server storage [IO: ▲3.14MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 257 new files
Database: no new tables, 22 new options
New WordPress options |
---|
empslight_com_vcard_field_list |
theysaidso_admin_options |
widget_employee_spotlight_featured_employees_widget |
employee_spotlight_tax_list |
employee_spotlight_cust_roles |
db_upgraded |
widget_theysaidso_widget |
employee_spotlight_version |
employee_spotlight_setup_pages |
widget_employee_spotlight_recent_employees_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Team Member Showcase Staff List Plugin - Employee Spotlight
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲217 | 13.19 ▼1.12 | 1.85 ▼0.30 | 36.78 ▼5.66 |
Dashboard /wp-admin | 2,386 ▲198 | 5.87 ▲0.06 | 100.87 ▼15.57 | 49.53 ▲2.87 |
Posts /wp-admin/edit.php | 2,271 ▲179 | 2.15 ▲0.15 | 40.82 ▲3.81 | 43.16 ▲10.76 |
Add New Post /wp-admin/post-new.php | 1,747 ▲211 | 22.69 ▼0.64 | 670.34 ▲29.18 | 71.25 ▼0.53 |
Media Library /wp-admin/upload.php | 1,581 ▲199 | 4.28 ▲0.12 | 98.42 ▼1.26 | 46.91 ▲4.51 |
Groups /wp-admin/edit-tags.php?taxonomy=groups&post_type=emd_employee | 1,414 | 2.32 | 30.15 | 38.73 |
Add New /wp-admin/post-new.php?post_type=emd_employee | 2,848 | 7.73 | 189.08 | 80.38 |
Employee Tags /wp-admin/edit-tags.php?taxonomy=employee_tags&post_type=emd_employee | 1,417 | 2.32 | 29.36 | 37.99 |
Locations /wp-admin/edit-tags.php?taxonomy=office_locations&post_type=emd_employee | 1,414 | 2.32 | 29.32 | 38.09 |
Settings /wp-admin/admin.php?page=employee_spotlight_settings | 2,133 | 2.70 | 36.25 | 39.76 |
All Employees /wp-admin/edit.php?post_type=emd_employee | 1,304 | 2.34 | 33.37 | 33.24 |
Custom Fields /wp-admin/admin.php?page=employee_spotlight_cust_fields | 1,052 | 1.71 | 26.28 | 41.05 |
Support /wp-admin/admin.php?page=employee_spotlight_support | 1,271 | 1.84 | 24.09 | 44.90 |
Glossary /wp-admin/admin.php?page=employee_spotlight_glossary | 1,189 | 1.82 | 24.69 | 35.70 |
Plugins /wp-admin/admin.php?page=employee_spotlight_store | 1,296 | 1.87 | 25.21 | 39.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 19 options in the database
- employee_spotlight_setup_pages
- employee_spotlight_activation_date
- employee_spotlight_add_caps
- employee_spotlight_glob_init_list
- employee_spotlight_tax_list
- db_upgraded
- widget_employee_spotlight_featured_employees_widget
- employee_spotlight_cust_roles
- emd_activated_plugins
- employee_spotlight_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/employee-spotlight/layouts/shc-employee-circle-panel-grid-footer.php
- > /wp-content/plugins/employee-spotlight/layouts/shc-employee-circle-grid-header.php
- > /wp-content/plugins/employee-spotlight/layouts/shc-employee-circle-panel-grid-header.php
- > /wp-content/plugins/employee-spotlight/layouts/shc-employee-circle-grid-footer.php
- 26× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/employee-spotlight/layouts/shc-employee-circle-grid-content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/employee-spotlight/layouts/archive-emd-employee.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/employee-spotlight/layouts/widget-recent-employees-content.php:2
- > PHP Fatal error
Uncaught Error: Class 'EMD_MB_Field' not found in wp-content/plugins/employee-spotlight/assets/ext/emd-meta-box/inc/fields/file-input.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/employee-spotlight/includes/admin/tabs.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/employee-spotlight/includes/admin/plugin-support.php:48
- > PHP Notice
Undefined variable: post in wp-content/plugins/employee-spotlight/layouts/taxonomy-groups-emd-employee.php on line 1
- > PHP Notice
Undefined variable: post in wp-content/plugins/employee-spotlight/layouts/widget-recent-employees-content.php on line 1
- > PHP Notice
Undefined variable: post in wp-content/plugins/employee-spotlight/layouts/taxonomy-employee-tags-emd-employee.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/employee-spotlight/includes/admin/shortcode-list-functions.php:2
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: team, staff list, team members, staff, meet the team
employee-spotlight/employee-spotlight.php 92% from 13 tests
The main PHP script in "Team Member Showcase Staff List Plugin - Employee Spotlight" version 4.9.8 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 147 characters long)
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
No dangerous file extensions were detected22,207 lines of code in 170 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 92 | 609 | 2,962 | 13,508 |
JavaScript | 43 | 402 | 527 | 3,598 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 34 | 116 | 116 | 2,430 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 19.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 53 | 100.00% |
▷ Final classes | 1 | 1.89% |
Methods | 283 | |
▷ Static methods | 199 | 70.32% |
▷ Public methods | 272 | 96.11% |
▷ Protected methods | 6 | 2.12% |
▷ Private methods | 5 | 1.77% |
Functions | 113 | |
▷ Named functions | 112 | 99.12% |
▷ Anonymous functions | 1 | 0.88% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
66 compressed PNG files occupy 0.64MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/megaphone.png | 1.42KB | 1.46KB | 0.00% |
assets/img/csv-impexp.png | 2.57KB | 2.63KB | 0.00% |
assets/img/dd.png | 3.22KB | 3.31KB | 0.00% |
assets/img/addons/wordpress_development728x190_rsgwjn.png | 39.52KB | 39.57KB | 0.00% |
assets/img/jui-img/ui-bg_glass_65_ffffff_1x400.png | 0.09KB | 0.10KB | 0.00% |