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.03MB] [CPU: ▼7.50ms] Passed 4 tests
Server-side resources used by WP Theme Changelogs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.70 ▼3.62 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.44 ▼6.52 |
Posts /wp-admin/edit.php | 3.40 ▲0.03 | 46.20 ▼7.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.03 | 90.29 ▼12.39 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 38.59 ▲3.68 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Theme Changelogs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▼0.03 | 1.90 ▲0.31 | 41.60 ▲2.11 |
Dashboard /wp-admin | 2,198 ▲30 | 5.61 ▲0.02 | 84.16 ▼5.78 | 41.23 ▼2.12 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.08 | 38.29 ▼2.98 | 36.83 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.68 ▲5.35 | 677.46 ▲28.37 | 60.79 ▼22.59 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.18 ▼0.03 | 98.85 ▼7.80 | 47.60 ▲2.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Michelf\\Markdown' not found in wp-content/plugins/wp-theme-changelogs/includes/markdown/Michelf/MarkdownExtra.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Michelf\\MarkdownInterface' not found in wp-content/plugins/wp-theme-changelogs/includes/markdown/Michelf/Markdown.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: theme update, theme, update, theme version, changelog...
wp-theme-changelogs/wp-theme-changelogs.php Passed 13 tests
This is the main PHP file of "WP Theme Changelogs" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
52 characters long description:
Adding changelogs for themes hosted on wordpress.org
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected2,750 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 583 | 1,441 | 2,453 |
Markdown | 2 | 119 | 0 | 287 |
JavaScript | 1 | 10 | 8 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 41.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 13 | 11.11% |
▷ Public methods | 25 | 21.37% |
▷ Protected methods | 92 | 78.63% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ 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
No PNG images were found in this plugin