Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Error in wp-content/plugins/wp-changelog/classes/class.wordpress-changelog.php+435
Uncaught ArgumentCountError: Too few arguments to function WordPress_Changelog_Class::write_log(), 6 passed in wp-content/plugins/wp-changelog/classes/class.wordpress-changelog.php on line 510 and exactly 7 expected in wp-content/plugins/wp-changelog/classes/class.wordpress-changelog.php:435
Stack trace:
#0 wp-content/plugins/wp-changelog/classes/class.wordpress-changelog.php(510): WordPress_Changelog_Class::write_log()
#1 wp-content/plugins/wp-changelog/wordpress-changelog.php(92): WordPress_Changelog_Class::setup()
#2 wp-includes/class-wp-hook.php(310): WP_Changelog_Init::activation()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.27ms] Passed 4 tests
Analyzing server-side resources used by WordPress Changelog
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.69 ▲1.62 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.15 ▼10.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.27 ▲1.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.57 ▼17.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.65 ▲2.77 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_webolatory_changelog |
New WordPress options |
---|
db_upgraded |
wordpress_changelog_version |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
WordPress Changelog: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.62 ▼0.96 | 1.71 ▼0.50 | 42.30 ▲1.79 |
Dashboard /wp-admin | 2,200 ▲12 | 5.82 ▲0.94 | 106.92 ▼1.37 | 39.51 ▲3.00 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.00 | 39.44 ▲0.58 | 37.47 ▲4.90 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.25 ▲4.99 | 693.59 ▲59.34 | 65.44 ▲3.50 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▲0.04 | 99.78 ▲3.29 | 42.69 ▼0.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 18 tag instead of maximum 10
wp-changelog/wordpress-changelog.php 77% from 13 tests
"WordPress Changelog" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-changelog.php" instead of "wordpress-changelog.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)
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
There were no executable files found in this plugin2,680 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 275 | 228 | 1,487 |
CSS | 2 | 10 | 1 | 524 |
PHP | 4 | 201 | 265 | 459 |
SVG | 2 | 4 | 2 | 210 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 4 | 22.22% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/media/logo.png | 8.84KB | 3.73KB | ▼ 57.76% |
dist/media/minilogo.png | 1.26KB | 0.61KB | ▼ 51.63% |