Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼11.22ms] Passed 4 tests
Analyzing server-side resources used by Continuous rss scrolling
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.46 ▼2.17 |
Dashboard /wp-admin | 3.39 ▲0.05 | 48.12 ▼12.61 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.18 ▼4.59 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.16 ▼20.78 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 36.25 ▼6.88 |
Continuous rss scrolling /wp-admin/options-general.php?page=continuous-rss-scrolling | 3.28 | 32.01 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 14 new options
New WordPress options |
---|
crs_display_width |
crs_display_count |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
crs_record_height |
widget_continuousrssscrolling |
crs_title |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Continuous rss scrolling
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.18 ▼1.25 | 1.89 ▲0.17 | 39.40 ▲1.95 |
Dashboard /wp-admin | 2,210 ▲24 | 5.83 ▲0.91 | 93.22 ▼23.74 | 39.19 ▼2.21 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.06 ▲0.04 | 33.33 ▼5.60 | 33.39 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.42 ▲0.86 | 596.72 ▼97.30 | 52.91 ▼10.45 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.25 | 93.92 ▼18.44 | 41.04 ▼7.73 |
Continuous rss scrolling /wp-admin/options-general.php?page=continuous-rss-scrolling | 879 | 2.03 | 27.75 | 29.52 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_continuousrssscrolling
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/continuous-rss-scrolling/continuous-rss-scrolling.php:288
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: continuous, rss, scrolling
continuous-rss-scrolling/continuous-rss-scrolling.php Passed 13 tests
Analyzing the main PHP file in "Continuous rss scrolling" version 11.2
112 characters long description:
This plugin will scroll the RSS title continuously in the wordpress website, we can use this plugin as a widget.
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 plugin594 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 53 | 22 | 398 |
PO File | 2 | 59 | 62 | 158 |
JavaScript | 1 | 7 | 25 | 38 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
No PNG images were found in this plugin