Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.93ms] Passed 4 tests
This is a short check of server-side resources used by Employee List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.12 ▼1.89 |
Dashboard /wp-admin | 3.35 ▲0.01 | 49.23 ▼11.96 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.52 ▲1.89 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 97.87 ▲3.70 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.96 ▼7.76 |
Employee /wp-admin/edit.php?post_type=employee-post-type | 3.32 | 37.16 |
Add Employee /wp-admin/post-new.php?post_type=employee-post-type | 3.33 | 45.41 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Employee List
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.59 ▼0.77 | 9.07 ▲7.54 | 24.72 ▼19.24 |
Dashboard /wp-admin | 2,226 ▲52 | 4.86 ▼0.73 | 84.14 ▼8.53 | 47.05 ▲7.77 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.25 ▲0.24 | 38.55 ▲2.48 | 41.30 ▲5.68 |
Add New Post /wp-admin/post-new.php | 1,707 ▲28 | 22.66 ▲0.68 | 649.03 ▼27.73 | 62.85 ▼2.34 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.36 ▲0.15 | 102.77 ▼8.54 | 50.79 ▲1.55 |
Employee /wp-admin/edit.php?post_type=employee-post-type | 1,101 | 2.18 | 35.30 | 34.06 |
Add Employee /wp-admin/post-new.php?post_type=employee-post-type | 1,703 | 3.72 | 65.43 | 36.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-employee-list/simple-employee-list.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: team, employee, employee-list, list, simple-employee-list...
simple-employee-list/simple-employee-list.php 85% from 13 tests
The primary PHP file in "Employee List" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "5.2")
- 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 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin164 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 30 | 162 |
CSS | 1 | 0 | 6 | 1 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin