Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.84MB] [CPU: ▼30.58ms] Passed 4 tests
Analyzing server-side resources used by WP Changes Tracker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.89 ▼0.05 |
Dashboard /wp-admin | 3.10 ▼0.20 | 24.07 ▼20.78 |
Posts /wp-admin/edit.php | 3.10 ▼0.25 | 23.64 ▼28.21 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.78 | 30.34 ▼62.35 |
Media Library /wp-admin/upload.php | 3.10 ▼0.13 | 24.25 ▼10.98 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_changes_tracker |
New WordPress options |
---|
wp_changes_tracker_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Changes Tracker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲172 | 13.23 ▼1.20 | 1.68 ▼0.21 | 39.09 ▼8.49 |
Dashboard /wp-admin | 2,313 ▲125 | 4.96 ▼0.93 | 110.54 ▼2.30 | 43.95 ▼2.34 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.21 ▲0.21 | 38.18 ▼3.63 | 35.64 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 17.64 ▼0.05 | 599.46 ▼109.22 | 51.95 ▼4.73 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.29 ▲0.09 | 96.88 ▼3.49 | 40.78 ▼2.20 |
WP Changes Tracker /wp-admin/wp-changes-tracker.php | 26 | 0.44 | 0.12 | 14.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie tables detected upon uninstall: 1 table
- wp_changes_tracker
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- wp_changes_tracker_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-changes-tracker/uninstall.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/wp-changes-tracker/wp-changes-tracker.php:37
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/wp-changes-tracker.php
- > Network (severe)
wp-admin/wp-changes-tracker.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (The changelog as a filterable/sortable/scrollable table.)
wp-changes-tracker/wp-changes-tracker.php Passed 13 tests
The entry point to "WP Changes Tracker" version 2.0.3 is a PHP file that has certain tags in its header comment area
60 characters long description:
Maintain a log of all themes, plugins and wordpress changes.
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
There were no executable files found in this plugin1,729 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 351 | 208 | 1,158 |
PHP | 3 | 160 | 89 | 405 |
JavaScript | 1 | 6 | 21 | 166 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 97.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_desc_disabled.png | 1.02KB | 0.25KB | ▼ 75.98% |
screenshot-1.png | 75.31KB | 26.90KB | ▼ 64.28% |
images/sort_desc.png | 1.10KB | 0.25KB | ▼ 77.73% |
images/sort_asc.png | 1.09KB | 0.25KB | ▼ 77.46% |
images/back_disabled.png | 1.33KB | 0.60KB | ▼ 55.11% |