Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.50ms] Passed 4 tests
Analyzing server-side resources used by Content text slider on post
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.03 ▼1.23 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.20 ▼2.87 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.64 ▲0.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.83 ▼7.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.31 ▼2.42 |
Content text slider /wp-admin/options-general.php?page=content-text-slider-on-post | 3.27 | 31.49 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_ctsop_plugin |
New WordPress options |
---|
ctsop_height_display_length_s2 |
ctsop_waitseconds |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
ctsop_height_display_length_s1 |
ctsop_speed |
ctsop_height_display_length_s3 |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Content text slider on post
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.27 ▼0.08 | 1.74 ▲0.02 | 37.19 ▼4.24 |
Dashboard /wp-admin | 2,199 ▲21 | 5.55 ▼0.06 | 88.50 ▼22.57 | 38.33 ▼6.60 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.95 ▼0.01 | 40.83 ▲2.09 | 35.70 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.31 ▼4.70 | 665.66 ▲5.40 | 69.44 ▲8.18 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▲0.01 | 103.38 ▲3.54 | 41.49 ▼2.15 |
Content text slider /wp-admin/options-general.php?page=content-text-slider-on-post | 984 | 2.27 | 26.96 | 25.75 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/content-text-slider-on-post/pages/content-setting.php
- > /wp-content/plugins/content-text-slider-on-post/pages/content-add.php
- > /wp-content/plugins/content-text-slider-on-post/pages/content-edit.php
- > /wp-content/plugins/content-text-slider-on-post/content-text-slider-on-post.php
- > /wp-content/plugins/content-text-slider-on-post/pages/content-show.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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: wordpress, text, slider, content, plugin
content-text-slider-on-post/content-text-slider-on-post.php 92% from 13 tests
The main PHP script in "Content text slider on post" version 8.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 297 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,232 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 120 | 66 | 853 |
PO File | 2 | 117 | 146 | 263 |
JavaScript | 3 | 13 | 68 | 116 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin