Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/share-from-tiny-tiny-rss/print_object.php+47
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.85MB] [CPU: ▼48.63ms] Passed 4 tests
An overview of server-side resources used by Share from Tiny Tiny RSS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 8.03 ▼28.41 |
Dashboard /wp-admin | 2.16 ▼1.15 | 6.23 ▼40.81 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.53 ▼39.43 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 5.87 ▼85.88 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 5.83 ▼25.94 |
Share from Tiny Tiny RSS /wp-admin/options-general.php?page=share-from-tiny-tiny-rss/share-from-ttrss.php | 2.16 | 5.37 |
Create Post from Tiny Tiny RSS /wp-admin/edit.php?page=share-from-tiny-tiny-rss/share-from-ttrss.php | 2.16 | 6.08 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
sf_ttrss_password |
can_compress_scripts |
sf_ttrss_user |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
sf_ttrss_base |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Share from Tiny Tiny RSS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.20 ▼1.15 | 1.70 ▲0.07 | 44.31 ▲5.41 |
Dashboard /wp-admin | 2,214 ▲25 | 4.86 ▼0.06 | 109.49 ▼8.96 | 40.26 ▼4.62 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.01 ▼0.03 | 38.62 ▼0.72 | 36.03 ▲3.95 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 18.19 ▲0.21 | 624.70 ▲14.16 | 50.33 ▼0.34 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.17 ▼0.03 | 95.21 ▼1.83 | 40.53 ▼2.90 |
Share from Tiny Tiny RSS /wp-admin/options-general.php?page=share-from-tiny-tiny-rss/share-from-ttrss.php | 801 | 2.03 | 25.10 | 25.66 |
Create Post from Tiny Tiny RSS /wp-admin/edit.php?page=share-from-tiny-tiny-rss/share-from-ttrss.php | 757 | 2.03 | 24.94 | 23.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/share-from-tiny-tiny-rss/print_object.php+47
Array and string offset access syntax with curly braces is deprecated
- The uninstall procedure has failed, leaving 9 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- sf_ttrss_user
- sf_ttrss_password
- can_compress_scripts
- sf_ttrss_base
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=share-from-tiny-tiny-rss/share-from-ttrss.php
- > Deprecated in wp-content/plugins/share-from-tiny-tiny-rss/print_object.php+47
Array and string offset access syntax with curly braces is deprecated
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=share-from-tiny-tiny-rss/share-from-ttrss.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'CURL' not found in wp-content/plugins/share-from-tiny-tiny-rss/class.ttrss_api.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/share-from-tiny-tiny-rss/share-from-ttrss.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Requires at least: Version format is invalid
- Tested up to: Version format is invalid
share-from-tiny-tiny-rss/share-from-ttrss.php 92% from 13 tests
"Share from Tiny Tiny RSS" version 0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("share-from-tiny-tiny-rss.php" instead of "share-from-ttrss.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected456 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 133 | 191 | 456 |
PHP code Passed 2 tests
Analyzing 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.37 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 69.23% |
▷ Protected methods | 1 | 7.69% |
▷ Private methods | 3 | 23.08% |
Functions | 20 | |
▷ Named functions | 20 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected