Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲5.02MB] [CPU: ▲18.05ms] 75% from 4 tests
An overview of server-side resources used by WP Meta and Date Remover
Please have a look at the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.02MB on /wp-admin/wp-meta-and-date-remover.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.84 ▲5.38 | 59.77 ▲15.29 |
Dashboard /wp-admin | 8.86 ▲5.56 | 73.78 ▲29.97 |
Posts /wp-admin/edit.php | 8.86 ▲5.50 | 75.64 ▲17.44 |
Add New Post /wp-admin/post-new.php | 9.52 ▲3.63 | 105.41 ▲12.19 |
Media Library /wp-admin/upload.php | 8.86 ▲5.63 | 63.75 ▲27.27 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 8.86 | 61.18 |
Server storage [IO: ▲4.98MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 200 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
fs_accounts |
fs_debug_mode |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
fs_active_plugins |
db_upgraded |
widget_recent-comments |
wpmdr_settings |
Browser metrics Passed 4 tests
A check of browser resources used by WP Meta and Date Remover
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲82 | 14.30 ▼0.31 | 2.27 ▲0.52 | 25.78 ▼18.13 |
Dashboard /wp-admin | 2,219 ▲49 | 5.62 ▲0.06 | 96.95 ▼14.13 | 48.23 ▲6.69 |
Posts /wp-admin/edit.php | 2,122 ▲25 | 1.97 ▼0.06 | 40.66 ▲1.59 | 39.91 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.53 ▲0.45 | 610.86 ▼62.84 | 50.31 ▼6.98 |
Media Library /wp-admin/upload.php | 1,421 ▲18 | 4.18 ▼0.01 | 96.04 ▼12.81 | 45.43 ▼1.64 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,076 | 1.66 | 25.64 | 27.96 |
WP Meta and Date Remover /wp-admin/wp-meta-and-date-remover.php | 26 | 0.41 | 0.07 | 20.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp-meta-and-date-remover/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 10 options in the database
- can_compress_scripts
- fs_debug_mode
- widget_recent-comments
- wpmdr_settings
- db_upgraded
- widget_theysaidso_widget
- fs_active_plugins
- fs_accounts
- theysaidso_admin_options
- widget_recent-posts
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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/wp-meta-and-date-remover.php
- > Network (severe)
wp-admin/wp-meta-and-date-remover.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid url: "- https://paypal.me/prasadkirpekar"
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
wp-meta-and-date-remover/wp-meta-and-date-remover.php Passed 13 tests
The main PHP file in "WP Meta and Date Remover" ver. 2.3.1 adds more information about the plugin and also serves as the entry point for this plugin
53 characters long description:
Remove meta and date information from posts and pages
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin34,187 lines of code in 154 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 8,147 | 17,354 | 33,718 |
JavaScript | 6 | 66 | 65 | 424 |
CSS | 15 | 2 | 0 | 23 |
JSON | 1 | 0 | 0 | 14 |
SVG | 8 | 0 | 0 | 8 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 81.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 1,309 | |
▷ Static methods | 199 | 15.20% |
▷ Public methods | 908 | 69.37% |
▷ Protected methods | 17 | 1.30% |
▷ Private methods | 384 | 29.34% |
Functions | 108 | |
▷ Named functions | 104 | 96.30% |
▷ Anonymous functions | 4 | 3.70% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.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
4 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/img/visual_remover.png | 19.96KB | 9.72KB | ▼ 51.30% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/img/build_plugin.png | 33.12KB | 15.77KB | ▼ 52.38% |