Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼303.25ms] Passed 4 tests
A check of server-side resources used by Heptagon Post Addenda
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 53.66 ▲2.47 |
Dashboard /wp-admin | 3.46 ▲0.05 | 36.82 ▲2.24 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 40.91 ▼4.39 |
Add New Post /wp-admin/post-new.php | 6.10 ▼0.86 | 80.56 ▼1,213.30 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 38.45 ▲11.78 |
All Addenda /wp-admin/edit.php?post_type=addenda | 3.37 | 27.46 |
Add New /wp-admin/post-new.php?post_type=addenda | 3.69 | 41.16 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Heptagon Post Addenda
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲34 | 15.54 ▼0.62 | 6.32 ▲0.14 | 2.86 ▲0.21 |
Dashboard /wp-admin | 2,913 ▲52 | 6.16 ▼0.05 | 121.00 ▼18.54 | 154.01 ▼7.99 |
Posts /wp-admin/edit.php | 2,726 ▲32 | 3.24 ▲0.00 | 83.35 ▲21.13 | 145.50 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,867 ▲198 | 24.39 ▲4.07 | 417.70 ▼27.00 | 195.36 ▲26.01 |
Media Library /wp-admin/upload.php | 1,733 ▲32 | 5.56 ▲0.08 | 144.84 ▼2.61 | 191.27 ▼6.49 |
All Addenda /wp-admin/edit.php?post_type=addenda | 1,406 | 2.92 | 62.16 | 155.58 |
Add New /wp-admin/post-new.php?post_type=addenda | 2,804 | 10.04 | 211.25 | 249.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/heptagon-post-addenda/heptagon-post-addenda.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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 need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== heptagon-post-addenda ===
)
heptagon-post-addenda/heptagon-post-addenda.php Passed 13 tests
The primary PHP file in "Heptagon Post Addenda" version 1.0.2 is used by WordPress to initiate all plugin functionality
79 characters long description:
Create disclaimers or other bits of text and add them to the end of your posts.
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
There were no executable files found in this plugin129 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 32 | 129 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin