10% connected-web

Code Review | Connected Web

WordPress plugin Connected Web scored10%from 54 tests.

About plugin

  • Plugin page: connected-web
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7
  • WordPress version: 6.3.1
  • First release: Jan 30, 2018
  • Latest release: Feb 4, 2018
  • Number of updates: 7
  • Update frequency: every 1.1 days
  • Top authors: connectedweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /587 total downloads


Plugin footprint 23% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Warning in wp-content/plugins/connected-web/connected-web.php+196
    require_once(includes/metadata/attachment.php): failed to open stream: No such file or directory

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

An overview of server-side resources used by Connected Web
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0041.21 ▲0.31
Dashboard /wp-admin3.31 ▲0.0045.51 ▼4.12
Posts /wp-admin/edit.php3.36 ▲0.0047.39 ▼1.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.90 ▼5.37
Media Library /wp-admin/upload.php3.23 ▲0.0036.89 ▲4.60

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Connected Web: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.28 ▼1.091.72 ▼0.4347.23 ▲0.89
Dashboard /wp-admin2,206 ▲185.86 ▼0.1896.63 ▼10.2540.93 ▼4.84
Posts /wp-admin/edit.php2,089 ▼31.97 ▼0.0440.20 ▲0.2037.21 ▲2.83
Add New Post /wp-admin/post-new.php1,538 ▲1818.27 ▼4.75682.63 ▼16.2451.22 ▼5.04
Media Library /wp-admin/upload.php1,388 ▲64.20 ▲0.0197.91 ▼2.1441.59 ▼1.81

Uninstaller [IO: ▲0.13MB] [DB: ▲0.00MB] 25% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > Warning in wp-content/plugins/connected-web/connected-web.php+196
    require_once(includes/metadata/attachment.php): failed to open stream: No such file or directory
  • This plugin has failed uninstalling correctly, leaving 22 files (0.13MB) in the plugin directory
    • (new file) LICENSE
    • (new file) includes/connectedweb/DomWalker.php
    • (new file) admin/css/onoff.css
    • (new file) includes/attachment.php
    • (new file) connectedweb-source.php
    • (new file) connected-web.php
    • (new file) includes/connectedweb/LICENSE
    • (new file) connectedweb-feed.php
    • (new file) README.md
    • (new file) includes/blog.php
    • ...
  • The uninstall procedure has failed, leaving 7 options in the database
    • recovery_mode_email_last_sent
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: atom, videos, files, feed, media...

connected-web/connected-web.php Passed 13 tests

The principal PHP file in "Connected Web" v. 1.0.0 is loaded by WordPress automatically on each request
56 characters long description:
Add Connected Web feed support to your Wordpress website

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,125 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity4.00
▷ Minimum class complexity1.00
▷ Maximum class complexity23.00
Average method complexity2.30
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes24100.00%
▷ Final classes00.00%
▷ Static methods11.82%
▷ Public methods5294.55%
▷ Protected methods23.64%
▷ Private methods11.82%
▷ Named functions2354.76%
▷ Anonymous functions1945.24%
▷ 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
No PNG images were found in this plugin