Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.28MB] [CPU: ▼19.14ms] Passed 4 tests
Analyzing server-side resources used by PRyC WP: Add custom content to post and page (top/bottom)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.10 ▼8.63 |
Dashboard /wp-admin | 3.37 ▲0.02 | 50.46 ▼10.10 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 43.45 ▼3.52 |
Add New Post /wp-admin/post-new.php | 4.66 ▼1.23 | 41.59 ▼54.32 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.84 ▼3.51 |
PRyC WP: Add custom content /wp-admin/options-general.php?page=pryc_wp_add_custom_content_to_bottom_of_post | 3.26 | 31.77 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for PRyC WP: Add custom content to post and page (top/bottom)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.59 ▼1.00 | 4.66 ▲2.65 | 44.75 ▼0.33 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.95 | 110.51 ▼7.44 | 41.80 ▼7.54 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.00 | 34.40 ▲0.12 | 31.71 ▼6.80 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.40 ▲0.16 | 639.55 ▼17.87 | 57.53 ▲5.77 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.02 | 95.62 ▲0.32 | 43.67 ▲3.86 |
PRyC WP: Add custom content /wp-admin/options-general.php?page=pryc_wp_add_custom_content_to_bottom_of_post | 889 | 2.03 | 30.13 | 29.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 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 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 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: signature, wordpress, top, footer, page...
pryc-wp-add-custom-content-to-bottom-of-post/pryc-wp-add-custom-content-to-bottom-of-post.php Passed 13 tests
The primary PHP file in "PRyC WP: Add custom content to post and page (top/bottom)" version 2.6.6 is used by WordPress to initiate all plugin functionality
123 characters long description:
Add custom content to post and/or page (top/bottom). You may use text, HTML, Shortcodes and JavaScript. Simple, but work...
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
Everything looks great! No dangerous files found in this plugin249 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 144 | 48 | 249 |
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.48 |
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 | 18 | |
▷ Named functions | 18 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected