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.09MB] [CPU: ▼0.48ms] Passed 4 tests
An overview of server-side resources used by CareerSitesPro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.09 ▼0.02 |
Dashboard /wp-admin | 3.39 ▲0.09 | 54.46 ▲3.42 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 53.73 ▲6.94 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 89.78 ▼12.25 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 47.08 ▲13.16 |
Settings /wp-admin/admin.php?page=csp_settings | 3.38 | 45.89 |
CareerSitesPro /wp-admin/admin.php?page=csp_home | 3.29 | 43.38 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 7 new options
New WordPress options |
---|
show_job_location |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CareerSitesPro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.28 ▼0.07 | 2.32 ▲0.51 | 41.91 ▼5.80 |
Dashboard /wp-admin | 2,227 ▲50 | 5.65 ▼0.02 | 85.04 ▼13.52 | 44.45 ▲2.00 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.02 ▼0.01 | 36.16 ▼1.05 | 36.34 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 22.94 ▼0.08 | 680.96 ▲5.92 | 60.25 ▲2.37 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.12 ▼0.05 | 110.67 ▲3.71 | 46.69 ▲4.09 |
Settings /wp-admin/admin.php?page=csp_settings | 2,239 | 2.88 | 80.99 | 35.35 |
CareerSitesPro /wp-admin/admin.php?page=csp_home | 888 | 1.93 | 30.72 | 25.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- show_job_location
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/careersitespro/public/render_detail_page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/careersitespro/admin/render_home_page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/careersitespro/public/render_shortcode.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/careersitespro/public/render_listing_page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/careersitespro/admin/render_setting_page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: careers, jobs, openings
careersitespro/careersitespro.php 92% from 13 tests
The main PHP script in "CareerSitesPro" version 1.3.8 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected10,479 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 223 | 175 | 5,428 |
SVG | 14 | 13 | 1 | 4,121 |
CSS | 6 | 131 | 28 | 854 |
JavaScript | 2 | 18 | 5 | 76 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
4 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/isolved.png | 5.12KB | 1.71KB | ▼ 66.58% |
public/images/applicant-pro.png | 5.53KB | 1.04KB | ▼ 81.24% |
assets/banner-772x250.png | 117.88KB | 60.97KB | ▼ 48.28% |
public/images/applicant-list.png | 3.48KB | 1.20KB | ▼ 65.59% |