74% appreplica

Code Review | Appreplica Social Feeds

WordPress plugin Appreplica Social Feeds scored74%from 54 tests.

About plugin

  • Plugin page: appreplica
  • Plugin version: 3.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.1-5.3.2
  • WordPress version: 6.3.1
  • First release: Jul 9, 2015
  • Latest release: Dec 29, 2020
  • Number of updates: 103
  • Update frequency: every 19.4 days
  • Top authors: appreplica (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

90+ active /10,136 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼1.95MB] [CPU: ▼55.69ms] Passed 4 tests

Server-side resources used by Appreplica Social Feeds
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.05 ▼1.415.94 ▼36.36
Dashboard /wp-admin2.07 ▼1.275.64 ▼59.04
Posts /wp-admin/edit.php2.07 ▼1.287.04 ▼40.38
Add New Post /wp-admin/post-new.php2.07 ▼3.815.15 ▼86.96
Media Library /wp-admin/upload.php2.07 ▼1.164.90 ▼32.60

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Appreplica Social Feeds
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,895 ▲14913.57 ▼0.808.07 ▲6.3443.17 ▼1.17
Dashboard /wp-admin2,219 ▲315.81 ▼0.0898.18 ▼21.7839.57 ▼7.29
Posts /wp-admin/edit.php2,105 ▲192.00 ▲0.0134.36 ▼1.6435.92 ▲1.44
Add New Post /wp-admin/post-new.php1,546 ▲2723.12 ▲0.06682.99 ▼3.0358.16 ▲3.93
Media Library /wp-admin/upload.php1,404 ▲194.17 ▼0.0194.93 ▼7.9643.74 ▼1.17

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 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 50% from 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
Please fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/appreplica/appreplica.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: appreplica

appreplica/appreplica.php Passed 13 tests

The main PHP script in "Appreplica Social Feeds" version 3.5 is automatically included on every request by WordPress
55 characters long description:
Appreplica for WordPress, embed your favorite websites.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected51 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1331551

PHP code Passed 2 tests

An overview 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.33
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin