Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.50MB] [CPU: ▲20.75ms] Passed 4 tests
Analyzing server-side resources used by Job Applicant Tracking & Staff Directory by SwiftCloud
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 53.22 ▲11.49 |
Dashboard /wp-admin | 3.82 ▲0.52 | 66.49 ▲18.41 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 73.86 ▲29.58 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 115.32 ▲23.51 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 65.28 ▲33.16 |
Form Submission /wp-admin/admin.php?page=swift_staff_admin_display_log | 3.67 | 69.43 |
Settings /wp-admin/admin.php?page=swift-staff | 3.76 | 58.28 |
Tags /wp-admin/edit-tags.php?taxonomy=swift_jobs_tag&post_type=swift_jobs | 3.71 | 54.49 |
Locations /wp-admin/edit-tags.php?taxonomy=swiftstaff_location_tag&post_type=swift_jobs | 3.71 | 53.24 |
Categories /wp-admin/edit-tags.php?taxonomy=swift_jobs_category&post_type=swift_jobs | 3.77 | 66.43 |
Log Detail /wp-admin/admin.php?page=swift_staff_admin_display_log_details | 3.68 | 52.19 |
Add Job /wp-admin/post-new.php?post_type=swift_jobs | 3.94 | 75.73 |
Updates & Tips /wp-admin/admin.php?page=swift_staff_dashboard | 3.80 | 281.82 |
All Jobs /wp-admin/edit.php?post_type=swift_jobs | 3.75 | 57.29 |
Server storage [IO: ▲4.19MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
swift_staff_version |
swift_jobs_category_children |
widget_swift_staff_job_search |
widget_recent-comments |
can_compress_scripts |
widget_swift_staff_latest_jobs |
Browser metrics Passed 4 tests
Job Applicant Tracking & Staff Directory by SwiftCloud: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲200 | 13.64 ▼0.79 | 5.52 ▲3.79 | 28.32 ▼20.35 |
Dashboard /wp-admin | 2,322 ▲134 | 5.85 ▲0.97 | 112.94 ▲4.61 | 76.57 ▲30.60 |
Posts /wp-admin/edit.php | 2,220 ▲134 | 2.10 ▲0.09 | 40.23 ▲5.34 | 41.61 ▲6.63 |
Add New Post /wp-admin/post-new.php | 1,775 ▲256 | 22.57 ▼0.69 | 716.34 ▲65.57 | 38.15 ▼14.26 |
Media Library /wp-admin/upload.php | 1,519 ▲131 | 4.29 ▲0.07 | 96.61 ▼2.94 | 90.23 ▲46.41 |
Form Submission /wp-admin/admin.php?page=swift_staff_admin_display_log | 1,019 | 2.34 | 27.54 | 36.94 |
Settings /wp-admin/admin.php?page=swift-staff | 1,601 | 3.58 | 49.08 | 71.92 |
Tags /wp-admin/edit-tags.php?taxonomy=swift_jobs_tag&post_type=swift_jobs | 1,368 | 2.41 | 27.93 | 40.81 |
Locations /wp-admin/edit-tags.php?taxonomy=swiftstaff_location_tag&post_type=swift_jobs | 1,395 | 2.29 | 28.80 | 39.48 |
Categories /wp-admin/edit-tags.php?taxonomy=swift_jobs_category&post_type=swift_jobs | 2,580 | 2.42 | 31.36 | 46.75 |
Log Detail /wp-admin/admin.php?page=swift_staff_admin_display_log_details | 922 | 2.18 | 29.24 | 32.31 |
Add Job /wp-admin/post-new.php?post_type=swift_jobs | 3,099 | 7.99 | 175.53 | 136.28 |
Updates & Tips /wp-admin/admin.php?page=swift_staff_dashboard | 1,009 | 2.42 | 26.30 | 35.52 |
All Jobs /wp-admin/edit.php?post_type=swift_jobs | 1,192 | 2.02 | 33.28 | 43.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_swift_staff_job_search
- widget_swift_staff_latest_jobs
- swift_jobs_category_children
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/applicant-tracking-system/admin/swift-staff-admin.php:37
- > PHP Notice
Undefined index: wp_version in wp-content/plugins/applicant-tracking-system/admin/swift-staff-admin.php on line 6
- > PHP Warning
Use of undefined constant SWIFTSTAFF_VERSION - assumed 'SWIFTSTAFF_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/applicant-tracking-system/admin/swift-staff-admin.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/applicant-tracking-system/rss-jobs-feed.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/applicant-tracking-system/public/section/swift-staff-function.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/applicant-tracking-system/public/section/archive-swift_jobs.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/applicant-tracking-system/admin/section/swift-staff-dashboard.php:169
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/applicant-tracking-system/admin/section/swift-staff-widget-latest-jobs.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/applicant-tracking-system/public/section/single-swift_staffs.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/applicant-tracking-system/public/section/archive-swift_staffs.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=swift_staff_admin_display_log_details
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).timeago is not a function" "TypeError: jQuery(...).timeago is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=swift_staff_admin_display_log_details:176:44)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=swift_staff_admin_display_log_details
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).timeago is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: staff, staff directory, job applicant tracking system, jobs
applicant-tracking-system/swift-staff.php 85% from 13 tests
This is the main PHP file of "Job Applicant Tracking & Staff Directory by SwiftCloud" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 ("applicant-tracking-system.php" instead of "swift-staff.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected16,749 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 12,223 |
PHP | 25 | 323 | 324 | 2,457 |
CSS | 8 | 40 | 54 | 1,362 |
JavaScript | 9 | 256 | 205 | 707 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 49 | |
▷ Named functions | 46 | 93.88% |
▷ Anonymous functions | 3 | 6.12% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/plus.png | 1.01KB | 0.91KB | ▼ 10.43% |
admin/images/delete.png | 0.97KB | 0.93KB | ▼ 4.72% |
admin/images/swiftcloud.png | 1.96KB | 1.00KB | ▼ 49.18% |