Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.11ms] Passed 4 tests
Analyzing server-side resources used by MAS Companies For WP Job Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.48 ▼3.64 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.06 ▼3.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.53 ▼5.89 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.54 ▼11.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.88 ▲1.38 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MAS Companies For WP Job Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.13 | 1.67 ▼0.20 | 42.56 ▼0.29 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▼0.09 | 97.97 ▼8.79 | 36.33 ▼12.30 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.04 ▲0.01 | 35.88 ▼6.68 | 30.58 ▼3.89 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 22.77 ▼0.77 | 599.16 ▼29.25 | 48.99 ▼4.71 |
Media Library /wp-admin/upload.php | 1,388 ▲9 | 4.23 ▼0.09 | 98.84 ▲1.10 | 44.64 ▲1.56 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mas-wp-job-manager-company/templates/archive-company.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mas-wp-job-manager-company/templates/single-company.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mas-wp-job-manager-company/includes/mas-wpjmc-template-hooks.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: company, job, company manager, companies, company listings...
mas-wp-job-manager-company/mas-wp-job-manager-company.php Passed 13 tests
Analyzing the main PHP file in "MAS Companies For WP Job Manager" version 1.0.6
73 characters long description:
This plugin helps to create a custom post type company for WP Job Manager
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected3,779 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 726 | 1,083 | 3,327 |
Sass | 7 | 66 | 0 | 398 |
JavaScript | 6 | 8 | 1 | 52 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 27.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 26 | 22.41% |
▷ Public methods | 100 | 86.21% |
▷ Protected methods | 10 | 8.62% |
▷ Private methods | 6 | 5.17% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected