Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.62MB] [CPU: ▼13.51ms] Passed 4 tests
A check of server-side resources used by Standard Employee List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.93 ▲0.21 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.36 ▼0.87 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 43.12 ▲0.93 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.72 | 33.92 ▼54.31 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 37.60 ▲3.07 |
All Employee /wp-admin/edit.php?post_type=employee_list | 3.35 | 35.09 |
Add New /wp-admin/post-new.php?post_type=employee_list | 3.16 | 32.04 |
Employee Type /wp-admin/edit-tags.php?taxonomy=employee_type&post_type=employee_list | 3.30 | 33.48 |
Server storage [IO: ▲0.02MB] [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: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Standard Employee List
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.74 ▲0.13 | 1.78 ▲0.16 | 34.89 ▼5.84 |
Dashboard /wp-admin | 2,225 ▲51 | 5.62 ▲0.09 | 84.65 ▼2.14 | 38.21 ▼2.26 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.04 ▲0.01 | 40.05 ▲5.19 | 36.74 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 23.18 ▲0.06 | 638.07 ▼1.29 | 64.83 ▲10.57 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.23 ▲0.01 | 112.06 ▲15.78 | 46.16 ▲3.37 |
All Employee /wp-admin/edit.php?post_type=employee_list | 1,114 | 1.96 | 32.84 | 29.47 |
Add New /wp-admin/post-new.php?post_type=employee_list | 2,457 | 7.86 | 188.62 | 64.22 |
Employee Type /wp-admin/edit-tags.php?taxonomy=employee_type&post_type=employee_list | 1,313 | 2.25 | 27.19 | 28.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+178
Undefined index: father
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+179
Undefined index: mother
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+180
Undefined index: gender
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+181
Undefined index: designation
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+182
Undefined index: mobile
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+183
Undefined index: email
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+184
Undefined index: sscyear
- > GET request to /wp-admin/post-new.php?post_type=employee_list
- > Notice in wp-content/plugins/standard-employee-list/init.php+185
Undefined index: skills
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/standard-employee-list/init.php:14
- > PHP Fatal error
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 86% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== standard-employee-list ===
) - Screenshots: These screenshots require images: #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)
- Contributors: Plugin contributors not specified
standard-employee-list/init.php 92% from 13 tests
"Standard Employee List" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("standard-employee-list.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin368 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 72 | 9 | 230 |
CSS | 2 | 2 | 0 | 132 |
JavaScript | 1 | 3 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.56 |
▷ 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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected