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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.04ms] Passed 4 tests
An overview of server-side resources used by Content Between Paragraphs
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.39 ▼9.46 |
Dashboard /wp-admin | 3.33 ▲0.02 | 51.11 ▼12.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 56.23 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.42 ▼10.86 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.07 ▲0.74 |
CBP /wp-admin/admin.php?page=cbp-options | 3.22 | 32.92 |
About /wp-admin/admin.php?page=cbp-option-about | 3.22 | 33.49 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Content Between Paragraphs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲80 | 14.28 ▲0.01 | 1.92 ▲0.04 | 42.73 ▲1.69 |
Dashboard /wp-admin | 2,216 ▲39 | 5.53 ▼0.14 | 90.55 ▼0.97 | 44.09 ▲2.65 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 1.98 ▲0.00 | 36.16 ▼9.05 | 38.39 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.27 ▲0.04 | 649.46 ▲26.53 | 72.76 ▲25.97 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.21 ▼0.10 | 98.50 ▼2.61 | 43.55 ▼0.10 |
CBP /wp-admin/admin.php?page=cbp-options | 838 | 2.03 | 24.03 | 29.18 |
About /wp-admin/admin.php?page=cbp-option-about | 804 | 2.15 | 25.01 | 27.15 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- 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 | 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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-between-paragraph/content-between-paragraphs.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: content, insert, between, paragraphs, ads
content-between-paragraph/content-between-paragraphs.php 92% from 13 tests
The main PHP script in "Content Between Paragraphs" version 1.5 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("content-between-paragraph.php" instead of "content-between-paragraphs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected74 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 9 | 74 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin