Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼9.22ms] Passed 4 tests
This is a short check of server-side resources used by Job Application Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 39.54 ▲5.28 |
Dashboard /wp-admin | 3.43 ▲0.08 | 44.31 ▼19.14 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.99 ▼1.32 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 80.27 ▼19.11 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.75 ▲2.70 |
Add designation /wp-admin/admin.php?page=job-desgn-page | 3.30 | 32.60 |
Job Application /wp-admin/admin.php?page=job-page | 3.30 | 35.15 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_job_list |
wp_job_designation |
New WordPress options |
---|
jal_db_version |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Job Application Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲171 | 13.72 ▼0.86 | 8.27 ▲6.44 | 44.24 ▲1.39 |
Dashboard /wp-admin | 2,233 ▲56 | 5.56 ▼0.06 | 83.47 ▼4.91 | 37.75 ▼8.22 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.00 ▲0.01 | 41.04 ▲4.56 | 35.52 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.48 ▲0.38 | 680.41 ▲45.85 | 56.55 ▼3.48 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.22 ▼0.01 | 103.78 ▲8.39 | 45.02 ▲1.72 |
Add designation /wp-admin/admin.php?page=job-desgn-page | 984 | 2.05 | 28.31 | 29.67 |
Job Application /wp-admin/admin.php?page=job-page | 987 | 1.65 | 24.52 | 27.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_job_designation
- wp_job_list
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- jal_db_version
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=job-page
- > Notice in wp-content/plugins/job-application-form/includes/class-sg-job-application-form-functions.php+612
Undefined variable: message
SRP 0% from 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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/job-application-form/public/partials/sg-job-application-form-public-display.php
- > /wp-content/plugins/job-application-form/admin/partials/sg-job-application-form-admin-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-application-form/includes/class-sg-job-application-form-functions.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== job-application-form ===
)
job-application-form/sg-job-application-form.php 77% from 13 tests
"Job Application Form" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("job-application-form.php" instead of "sg-job-application-form.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 191 characters long)
- 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 an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin585 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 224 | 715 | 546 |
JavaScript | 3 | 5 | 55 | 28 |
CSS | 3 | 1 | 8 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 39 | 88.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.36% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected