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.68MB] [CPU: ▼24.16ms] Passed 4 tests
This is a short check of server-side resources used by Employee's List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.20 ▼3.30 |
Dashboard /wp-admin | 3.34 ▼0.01 | 43.54 ▼28.43 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.09 ▲0.08 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.76 | 33.79 ▼62.80 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 31.37 ▼2.10 |
Employees Types /wp-admin/edit-tags.php?taxonomy=employee_type&post_type=employee_list | 3.35 | 34.22 |
All Employees /wp-admin/edit.php?post_type=employee_list | 3.31 | 41.58 |
Add New Employee /wp-admin/post-new.php?post_type=employee_list | 3.12 | 30.28 |
Server storage [IO: ▲1.08MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Employee's List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲186 | 13.73 ▼0.57 | 6.00 ▲4.05 | 42.92 ▼0.82 |
Dashboard /wp-admin | 2,242 ▲54 | 5.92 ▲1.02 | 104.99 ▼8.76 | 39.27 ▼9.03 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.08 ▲0.09 | 39.47 ▲0.17 | 33.64 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,548 ▲12 | 23.25 ▲0.11 | 658.30 ▲23.43 | 63.35 ▲10.44 |
Media Library /wp-admin/upload.php | 1,430 ▲42 | 4.24 ▼0.03 | 94.86 ▲2.56 | 39.46 ▼0.62 |
Employees Types /wp-admin/edit-tags.php?taxonomy=employee_type&post_type=employee_list | 1,303 | 2.37 | 29.82 | 28.39 |
All Employees /wp-admin/edit.php?post_type=employee_list | 1,106 | 2.01 | 32.45 | 31.83 |
Add New Employee /wp-admin/post-new.php?post_type=employee_list | 2,512 | 7.89 | 178.99 | 72.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+230
Undefined index: pname
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+231
Undefined index: fname
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+232
Undefined index: mname
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+233
Undefined index: gender
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+234
Undefined index: sscr
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+235
Undefined index: sscy
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+236
Undefined index: sscg
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+237
Undefined index: hscr
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+238
Undefined index: hscy
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+239
Undefined index: hscg
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+240
Undefined index: br
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+241
Undefined index: by
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+242
Undefined index: bg
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+243
Undefined index: dn
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/locus-employee-cv/employee.php+244
Undefined index: de
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/locus-employee-cv/employee.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== locus-employee-cv ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
locus-employee-cv/employee.php 85% from 13 tests
"Employee's List" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("locus-employee-cv.php" instead of "employee.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 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin3,009 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 1 | 99 | 14 | 254 |
CSS | 2 | 22 | 3 | 79 |
JavaScript | 1 | 7 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin