84% wp-pocketrss

Code Review | wp-pocketrss

WordPress plugin wp-pocketrss scored84%from 54 tests.

About plugin

  • Plugin page: wp-pocketrss
  • Plugin version: 0.5.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.8.1
  • WordPress version: 6.3.1
  • First release: Oct 15, 2013
  • Latest release: Oct 16, 2013
  • Number of updates: 4
  • Update frequency: every 349.8 days
  • Top authors: krzysztofturek (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /672 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼9.99ms] Passed 4 tests

Analyzing server-side resources used by wp-pocketrss
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.99 ▼3.69
Dashboard /wp-admin3.32 ▼0.0345.78 ▼16.30
Posts /wp-admin/edit.php3.37 ▲0.0144.59 ▼1.49
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.30 ▼18.11
Media Library /wp-admin/upload.php3.24 ▲0.0134.18 ▼1.86

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for wp-pocketrss
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5613.61 ▼0.671.74 ▼0.1040.84 ▼3.33
Dashboard /wp-admin2,200 ▲85.85 ▼0.0696.09 ▼29.7738.61 ▼8.65
Posts /wp-admin/edit.php2,086 ▼32.02 ▲0.0035.17 ▲0.2032.75 ▼2.25
Add New Post /wp-admin/post-new.php1,514 ▼1717.58 ▼0.58701.52 ▲42.4451.87 ▼0.28
Media Library /wp-admin/upload.php1,388 ▼04.21 ▲0.0196.29 ▼5.1741.71 ▼2.27

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

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
Good news, no errors were detected

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 fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-pocketrss/wp-pocketrss.php:52

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Screenshots: Add an image for screenshot #1 (Example page)
  • Donate link: Please fix this invalid URI: "blog.krzysztof-turek.com/wp-pocketrss-en"
The official readme.txt might help

wp-pocketrss/wp-pocketrss.php Passed 13 tests

The primary PHP file in "wp-pocketrss" version 0.5.1 is used by WordPress to initiate all plugin functionality
31 characters long description:
GetPocket.com rss parser plugin

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected52 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP131238
CSS10014

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin