Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.79ms] Passed 4 tests
Server-side resources used by Empty Meta Cleanup for WP Job Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.88 ▼7.61 |
Dashboard /wp-admin | 3.41 ▲0.07 | 49.00 ▼8.99 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.09 ▲2.12 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 83.24 ▼14.71 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 36.71 ▲0.15 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Empty Meta Cleanup for WP Job Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.16 ▼1.23 | 1.72 ▼0.19 | 44.42 ▲0.07 |
Dashboard /wp-admin | 2,206 ▲21 | 5.91 ▲0.06 | 112.15 ▲3.43 | 43.37 ▲0.93 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.01 | 39.51 ▼0.57 | 36.68 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,536 ▲15 | 23.19 ▲0.03 | 660.68 ▲8.53 | 57.69 ▲7.36 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.27 ▼0.02 | 95.70 ▼4.59 | 41.91 ▼1.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- 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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 27× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/plugins/mascm.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/settings.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/plugins/cariera.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/plugins/afjcl.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/plugins.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/meta/remove.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/wp-job-manager-empty-meta-cleanup.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/plugins/cariera/settings.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/plugins/mascm/settings.php
- > /wp-content/plugins/empty-meta-cleanup-for-wp-job-manager/classes/admin/job/settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in empty-meta-cleanup-for-wp-job-manager/assets to your readme.txt
empty-meta-cleanup-for-wp-job-manager/wp-job-manager-empty-meta-cleanup.php 69% from 13 tests
The main file in "Empty Meta Cleanup for WP Job Manager" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("empty-meta-cleanup-for-wp-job-manager.php" instead of "wp-job-manager-empty-meta-cleanup.php")
- Requires at least: Required version does not match the one declared in readme.txt ("5.2" instead of "4.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected776 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 318 | 832 | 776 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 4.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 14 | 18.92% |
▷ Public methods | 73 | 98.65% |
▷ Protected methods | 1 | 1.35% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin