Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.73MB] [CPU: ▼31.20ms] Passed 4 tests
Server-side resources used by eDoc Employee Job Application - Best WordPress Job Manager for Employees
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 41.06 ▼1.11 |
Dashboard /wp-admin | 3.22 ▼0.09 | 29.27 ▼20.86 |
Posts /wp-admin/edit.php | 3.22 ▼0.14 | 27.22 ▼25.46 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.67 | 25.76 ▼74.44 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 27.82 ▼4.04 |
Server storage [IO: ▲10.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 348 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_edoc_form_saved |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for eDoc Employee Job Application - Best WordPress Job Manager for Employees
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.19 ▼1.48 | 4.61 ▲2.63 | 42.33 ▲1.73 |
Dashboard /wp-admin | 2,209 ▲18 | 5.83 ▼0.05 | 112.93 ▲10.31 | 76.30 ▲29.05 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.98 ▼0.01 | 36.71 ▼0.86 | 33.54 ▼4.74 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.10 ▼0.19 | 758.02 ▲107.18 | 63.56 ▲10.26 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.12 ▼0.13 | 109.31 ▲4.96 | 44.39 ▼1.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/edoc-employee-application/main-core.php+15
Undefined index: action
- Zombie tables were found after uninstall: 1 table
- wp_edoc_form_saved
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/edoc-employee-application/dompdf/vendor/sabberworm/php-css-parser/tests/quickdump.php
- 131× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/sabberworm/php-css-parser/tests/Sabberworm/CSS/RuleSet/LenientParsingTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\CSSFunction' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Value/Color.php:5
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Renderer\\Block' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/dompdf/dompdf/src/Renderer/TableCell.php:18
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\File' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/phenx/php-font-lib/src/FontLib/OpenType/File.php:16
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\AbstractTag' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/phenx/php-svg-lib/src/Svg/Document.php:30
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\File' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/phenx/php-font-lib/src/FontLib/EOT/File.php:16
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\File' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/phenx/php-font-lib/src/FontLib/WOFF/File.php:20
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameReflower\\AbstractFrameReflower' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/dompdf/dompdf/src/FrameReflower/ListBullet.php:18
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\BinaryStream' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/phenx/php-font-lib/src/FontLib/Header.php:17
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\Table\\Table' not found in wp-content/plugins/edoc-employee-application/dompdf/vendor/phenx/php-font-lib/src/FontLib/Table/Type/maxp.php:17
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: job manager, hiring, employment application, job, job listing...
edoc-employee-application/main-core.php 92% from 13 tests
The principal PHP file in "eDoc Employee Job Application - Best WordPress Job Manager for Employees" v. 1.13 is loaded by WordPress automatically on each request
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 ("edoc-employee-application.php" instead of "main-core.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin39,843 lines of code in 259 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 202 | 8,430 | 15,336 | 36,951 |
CSS | 34 | 177 | 73 | 1,380 |
Markdown | 6 | 255 | 0 | 909 |
JSON | 6 | 0 | 0 | 336 |
XML | 5 | 3 | 2 | 186 |
YAML | 3 | 12 | 2 | 45 |
HTML | 1 | 0 | 0 | 17 |
JavaScript | 1 | 1 | 0 | 11 |
SVG | 1 | 0 | 0 | 8 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 652)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 35.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 765.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 652.00 |
Code structure | ||
---|---|---|
Namespaces | 34 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 182 | |
▷ Abstract classes | 12 | 6.59% |
▷ Concrete classes | 170 | 93.41% |
▷ Final classes | 0 | 0.00% |
Methods | 1,992 | |
▷ Static methods | 86 | 4.32% |
▷ Public methods | 1,703 | 85.49% |
▷ Protected methods | 192 | 9.64% |
▷ Private methods | 97 | 4.87% |
Functions | 25 | |
▷ Named functions | 10 | 40.00% |
▷ Anonymous functions | 15 | 60.00% |
Constants | 161 | |
▷ Global constants | 6 | 3.73% |
▷ Class constants | 155 | 96.27% |
▷ Public constants | 155 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-48-config.png | 4.04KB | 2.30KB | ▼ 43.15% |
images/logoNewSquare.png | 0.75KB | 0.68KB | ▼ 9.03% |
images/add.png | 0.72KB | 0.75KB | 0.00% |
images/delete.png | 0.70KB | 0.72KB | 0.00% |
images/flag.png | 3.75KB | 1.26KB | ▼ 66.32% |