Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.78ms] Passed 4 tests
Server-side resources used by MAS Company Reviews For WP Job Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.18 ▼10.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 40.87 ▼6.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.60 ▲4.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.70 ▼5.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.80 ▲2.59 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for MAS Company Reviews For WP Job Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.10 | 1.78 ▼0.09 | 39.56 ▼10.29 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.98 | 111.08 ▲4.26 | 42.55 ▼0.19 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.02 | 39.99 ▲3.31 | 35.77 ▲2.19 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.32 ▲0.23 | 645.51 ▼40.33 | 50.17 ▼4.96 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.02 | 94.33 ▼7.28 | 40.14 ▼6.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% 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)
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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mas-wp-job-manager-company-reviews/templates/job-review-moderate.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: job, company manager, company review, job listing, company listings review...
mas-wp-job-manager-company-reviews/mas-wp-job-manager-company-reviews.php Passed 13 tests
The primary PHP file in "MAS Company Reviews For WP Job Manager" version 1.0.2 is used by WordPress to initiate all plugin functionality
124 characters long description:
Leave reviews for listings in MAS WP Job Manager Company. Define review categories and choose the number of stars available.
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
Success! There were no dangerous files found in this plugin1,335 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 338 | 896 | 1,296 |
SVG | 4 | 0 | 0 | 26 |
JavaScript | 2 | 5 | 2 | 9 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 49 | |
▷ Static methods | 1 | 2.04% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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