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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.51ms] Passed 4 tests
Server-side resources used by Insert Script In Headers And Footers
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.96 ▲2.05 |
Dashboard /wp-admin | 3.34 ▲0.03 | 43.74 ▼2.66 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 60.86 ▲12.47 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.00 ▼14.92 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.32 ▲5.48 |
Insert Script In Headers And Footers /wp-admin/options-general.php?page=insert-script-in-header-and-footer-option | 3.27 | 42.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Insert Script In Headers And Footers: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.48 ▲0.12 | 1.73 ▲0.01 | 41.25 ▲1.93 |
Dashboard /wp-admin | 2,206 ▲21 | 5.83 ▼0.02 | 102.66 ▼7.23 | 38.09 ▼5.71 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.05 ▲0.02 | 42.82 ▲2.27 | 36.96 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,519 ▼1 | 17.53 ▼5.57 | 649.16 ▲0.86 | 51.60 ▼0.31 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.02 | 97.45 ▼12.01 | 43.10 ▼0.66 |
Insert Script In Headers And Footers /wp-admin/options-general.php?page=insert-script-in-header-and-footer-option | 928 | 2.17 | 24.17 | 57.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: insert html, add google analytics code, insert custom style, insert facebook pixel code, insert javascript
insert-script-in-headers-and-footers/insert-script-in-headers-and-footers.php Passed 13 tests
"Insert Script In Headers And Footers" version 2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
48 characters long description:
A plugin to insert script in headers and footers
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin310 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 9 | 195 |
CSS | 1 | 16 | 0 | 115 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin