Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼146.45ms] Passed 4 tests
Analyzing server-side resources used by Easy Employee Management
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 39.65 ▲6.26 |
Dashboard /wp-admin | 3.11 ▲0.06 | 47.12 ▼2.58 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 46.89 ▲0.07 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 97.32 ▼579.48 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 32.05 ▼3.82 |
Employee /wp-admin/edit.php?post_type=employee | 3.09 | 36.48 |
Add New /wp-admin/post-new.php?post_type=employee | 3.09 | 41.81 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Easy Employee Management
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,742 ▲146 | 16.31 ▲0.70 | 11.68 ▲2.18 | 44.03 ▼3.05 |
Dashboard /wp-admin | 3,005 ▲68 | 5.91 ▼0.22 | 148.36 ▼8.14 | 99.73 ▼15.30 |
Posts /wp-admin/edit.php | 2,774 ▲35 | 2.71 ▲0.00 | 77.33 ▼10.75 | 86.81 ▼9.51 |
Add New Post /wp-admin/post-new.php | 1,695 ▲114 | 18.88 ▼1.92 | 399.37 ▼26.89 | 112.65 ▼11.90 |
Media Library /wp-admin/upload.php | 1,842 ▲35 | 5.05 ▲0.03 | 155.86 ▼7.31 | 115.92 ▲1.89 |
Employee /wp-admin/edit.php?post_type=employee | 1,483 | 2.64 | 78.74 | 81.29 |
Add New /wp-admin/post-new.php?post_type=employee | 2,012 | 3.33 | 97.08 | 98.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: employee, employee list, easy employee management, employee management
easy-employee-management/easy_employee_management.php 92% from 13 tests
The primary PHP file in "Easy Employee Management" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-employee-management.php" instead of "easy_employee_management.php")
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
Success! There were no dangerous files found in this plugin173 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 10 | 173 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 8 | |
▷ Named functions | 8 | 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
PNG images were not found in this plugin