Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.48ms] Passed 4 tests
An overview of server-side resources used by Hide/Remove Metadata
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.08 ▼3.72 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.58 ▼1.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.15 ▲6.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.32 ▼12.14 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.89 ▼4.67 |
Hide/Remove Metadata /wp-admin/tools.php?page=hide-metadata | 3.27 | 30.18 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Hide/Remove Metadata
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.04 ▼0.19 | 1.83 ▼0.07 | 44.54 ▲0.57 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.00 | 94.38 ▼2.28 | 42.25 ▼2.96 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.94 ▼0.08 | 37.46 ▼5.17 | 31.53 ▼5.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.02 ▲0.24 | 699.37 ▲26.84 | 66.26 ▲13.04 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.14 ▼0.06 | 96.64 ▼16.89 | 42.09 ▼3.36 |
Hide/Remove Metadata /wp-admin/tools.php?page=hide-metadata | 1,186 | 2.19 | 45.63 | 52.59 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/hide-metadata/partials/admin-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/hide-metadata/partials/dashboard-display.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/hide-metadata/hide-metadata.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/hide-metadata/partials/sidebar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/hide-metadata/partials/footer.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: Please a description for screenshot #1 in hide-metadata/assets to your readme.txt
hide-metadata/hide-metadata.php 92% from 13 tests
The entry point to "Hide/Remove Metadata" version 1.2.7 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 174 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,149 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 147 | 21 | 724 |
PHP | 6 | 71 | 106 | 393 |
JavaScript | 2 | 13 | 5 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/free-plugin-246x116.png | 8.01KB | 3.81KB | ▼ 52.42% |
images/premium-plugin-246x116.png | 9.01KB | 4.16KB | ▼ 53.83% |