Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method ADPJobSync::plugin_activation()
Server metrics [RAM: ▲0.11MB] [CPU: ▼3.56ms] Passed 4 tests
An overview of server-side resources used by Mmm ADP Job Sync
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 51.33 ▲4.80 |
Dashboard /wp-admin | 3.41 ▲0.10 | 48.40 ▼3.81 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.00 ▼0.21 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 90.45 ▼11.29 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.02 ▲1.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Mmm ADP Job Sync: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲37 | 13.25 ▼1.17 | 1.85 ▼0.09 | 32.46 ▼11.80 |
Dashboard /wp-admin | 2,214 ▲26 | 5.02 ▲0.14 | 111.36 ▲3.68 | 41.12 ▼3.75 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.02 ▼0.01 | 36.64 ▼4.03 | 33.97 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 17.50 ▼5.64 | 657.54 ▼28.39 | 51.00 ▼7.60 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.27 ▲0.08 | 98.55 ▼23.50 | 42.97 ▼5.92 |
ADPJS Settings /wp-admin/adpjs-admin.php | 26 | 0.44 | 0.07 | 14.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method ADPJobSync::plugin_deactivation()
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
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)
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mmm-adp-job-sync/mmm-adp-job-sync.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/mmm-adp-job-sync/includes/admin_page.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/adpjs-admin.php
- > Network (severe)
wp-admin/adpjs-admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: careers, adp, jobs, automation
mmm-adp-job-sync/mmm-adp-job-sync.php Passed 13 tests
This is the main PHP file of "Mmm ADP Job Sync" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
105 characters long description:
Allows you to read public ADP job listings from workforcenow.adp.com and sync them as posts on your site.
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
Everything looks great! No dangerous files found in this plugin536 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 80 | 16 | 494 |
JavaScript | 1 | 3 | 0 | 40 |
CSS | 2 | 0 | 16 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 12 | 36.36% |
▷ Public methods | 22 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 33.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There were not PNG files found in your plugin