79% content-connector-by-contenidosclick

Code Review | Content Connector by ContenidosClick

WordPress plugin Content Connector by ContenidosClick scored79%from 54 tests.

About plugin

  • Plugin page: content-connector...
  • Plugin version: 2.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Mar 19, 2020
  • Latest release: Jul 25, 2022
  • Number of updates: 23
  • Update frequency: every 38.0 days
  • Top authors: contenidosclick (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,436 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.71ms] Passed 4 tests

An overview of server-side resources used by Content Connector by ContenidosClick
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0237.81 ▼1.23
Dashboard /wp-admin3.32 ▲0.0243.32 ▼5.13
Posts /wp-admin/edit.php3.44 ▲0.0844.23 ▼2.68
Add New Post /wp-admin/post-new.php5.90 ▲0.0280.62 ▼5.80
Media Library /wp-admin/upload.php3.25 ▲0.0234.83 ▲1.98
Content Connector /wp-admin/options-general.php?page=content-connector3.2132.69

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Content Connector by ContenidosClick
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.26 ▼0.311.75 ▲0.1244.34 ▲2.71
Dashboard /wp-admin2,202 ▲305.61 ▼0.1190.58 ▼14.0939.67 ▲0.15
Posts /wp-admin/edit.php2,107 ▲72.02 ▲0.0341.38 ▲3.9735.83 ▲1.66
Add New Post /wp-admin/post-new.php1,529 ▲323.38 ▼0.04677.10 ▼8.0059.59 ▲7.89
Media Library /wp-admin/upload.php1,398 ▼24.21 ▲0.0395.95 ▼8.8441.44 ▼3.25
Content Connector /wp-admin/options-general.php?page=content-connector9072.0026.5384.62

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin cannot be uninstalled
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method CONTENT_CONNECTOR_BUILD::db_uninstall() should not be called statically
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

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 errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: subir post automticamente, marketing de contenidos, content conector, conectar posts, conector de contenidos...

content-connector-by-contenidosclick/content-connector.php 77% from 13 tests

"Content Connector by ContenidosClick" version 2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("content-connector-by-contenidosclick.php" instead of "content-connector.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 208 characters long)

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
Good job! No executable or dangerous file extensions detected670 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP823792615
CSS21655

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity14.29
▷ Minimum class complexity3.00
▷ Maximum class complexity61.00
Average method complexity3.27
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes7100.00%
Methods41
▷ Static methods00.00%
▷ Public methods41100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin