Benchmarks
Plugin footprint 83% 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: ▲0.11MB] [CPU: ▼7.09ms] Passed 4 tests
A check of server-side resources used by Simple App Changelogs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 43.51 ▼2.18 |
Dashboard /wp-admin | 3.45 ▲0.10 | 48.24 ▼15.68 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 54.20 ▲6.36 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 91.57 ▼13.98 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.70 ▲3.50 |
New Project /wp-admin/admin.php?page=simple_appchangelog_newProject_page | 3.34 | 35.63 |
General /wp-admin/admin.php?page=simple_appchangelog_main_page | 3.34 | 36.64 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_sappchangelog_projects |
wp_sappchangelog_versions |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple App Changelogs: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.36 ▼0.04 | 1.48 ▼0.55 | 42.27 ▼0.74 |
Dashboard /wp-admin | 2,221 ▲44 | 5.47 ▼0.14 | 86.91 ▼8.74 | 42.55 ▲1.46 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.99 ▲0.00 | 37.83 ▲1.87 | 36.04 ▲4.93 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.06 ▲0.10 | 711.93 ▲34.17 | 53.89 ▼2.32 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.23 ▲0.06 | 104.12 ▼11.07 | 47.23 ▲1.88 |
New Project /wp-admin/admin.php?page=simple_appchangelog_newProject_page | 843 | 2.15 | 22.31 | 26.01 |
General /wp-admin/admin.php?page=simple_appchangelog_main_page | 787 | 1.99 | 25.34 | 26.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/simple-app-changelogs/simple-apps-changelogs.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-app-changelogs/admin/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simple-app-changelogs/main.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-app-changelogs/init.php:3
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: versioning, log, app, logging, programming...
simple-app-changelogs/simple-apps-changelogs.php 85% from 13 tests
This is the main PHP file of "Simple App 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
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-app-changelogs.php" instead of "simple-apps-changelogs.php")
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
No dangerous file extensions were detected917 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 25 | 82 | 765 |
PO File | 1 | 64 | 83 | 114 |
CSS | 2 | 1 | 0 | 27 |
JavaScript | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
This is a very shot 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.47 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin