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.02MB] [CPU: ▼2.77ms] Passed 4 tests
This is a short check of server-side resources used by Content Visibility RSS Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.80 ▼0.01 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.52 ▼0.57 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.56 ▼2.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 95.67 ▼8.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 40.14 ▲0.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Content Visibility RSS Feed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.21 ▼0.18 | 1.72 ▲0.18 | 44.08 ▼0.25 |
Dashboard /wp-admin | 2,192 ▲18 | 5.54 ▼0.11 | 90.45 ▼0.08 | 38.03 ▼4.45 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▼0.01 | 41.13 ▲5.09 | 35.60 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.09 ▲4.83 | 670.37 ▲28.38 | 57.19 ▼6.02 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.31 ▲0.09 | 103.99 ▲3.83 | 47.17 ▲5.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: contentvisibility, visibility, block, rss, content...
content-visibility-rss-feed/content-visibility-rss-feed.php Passed 13 tests
"Content Visibility RSS Feed" version 0.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
102 characters long description:
[Content Visibility Add-On] Show or hide your content for those folks consuming your content with RSS.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected410 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 120 | 221 | 301 |
PHP | 3 | 29 | 77 | 68 |
JSON | 1 | 0 | 0 | 26 |
CSS | 2 | 1 | 1 | 8 |
Markdown | 1 | 6 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 1 | |
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 | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin