74% wp-tweet-walls

Code Review | WP Tweet Walls

WordPress plugin WP Tweet Walls scored74%from 54 tests.

About plugin

  • Plugin page: wp-tweet-walls
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.3
  • WordPress version: 6.3.1
  • First release: Aug 12, 2019
  • Latest release: Feb 21, 2020
  • Number of updates: 10
  • Update frequency: every 19.7 days
  • Top authors: SolaPlugins (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /632 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

A check of server-side resources used by WP Tweet Walls
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.62 ▲0.1647.90 ▲4.05
Dashboard /wp-admin3.33 ▼0.0159.09 ▼2.50
Posts /wp-admin/edit.php3.39 ▲0.0348.83 ▼5.62
Add New Post /wp-admin/post-new.php5.94 ▲0.0593.27 ▼7.59
Media Library /wp-admin/upload.php3.26 ▲0.0343.35 ▲5.08
Settings /wp-admin/admin.php?page=wp_tweet_walls_settings3.2536.74
Twitter Buttons /wp-admin/admin.php?page=wp_tweet_walls_buttons3.2237.21
Timelines /wp-admin/admin.php?page=wp_tweet_walls_timelines3.2235.87
Tweet Walls /wp-admin/admin.php?page=wp_tweet_walls3.2236.66

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables
wp_wptw_walls
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for WP Tweet Walls
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,017 ▲25615.45 ▲1.1012.24 ▲10.3242.40 ▼1.95
Dashboard /wp-admin2,280 ▲1035.86 ▲0.20105.73 ▲10.5040.32 ▼0.89
Posts /wp-admin/edit.php2,175 ▲753.08 ▲1.0859.53 ▲19.2830.77 ▼6.35
Add New Post /wp-admin/post-new.php6,555 ▲5,01923.95 ▲0.62977.05 ▲311.4544.56 ▼9.24
Media Library /wp-admin/upload.php1,492 ▲895.41 ▲1.14116.20 ▲5.7745.05 ▼2.77
Settings /wp-admin/admin.php?page=wp_tweet_walls_settings9392.9264.2332.09
Twitter Buttons /wp-admin/admin.php?page=wp_tweet_walls_buttons9392.9461.6931.22
Timelines /wp-admin/admin.php?page=wp_tweet_walls_timelines9362.9459.2930.72
Tweet Walls /wp-admin/admin.php?page=wp_tweet_walls9392.9255.4928.28

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 1 table in the database
    • wp_wptw_walls
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wp_tweet_walls_buttons
    • > request to
    • > Notice in wp-config.php+20
    Undefined index: REQUEST_METHOD

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 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
6 plugin tags: walls, twitter, timelines, twitter wall, tweet wall...

wp-tweet-walls/wp-tweet-walls.php 92% from 13 tests

Analyzing the main PHP file in "WP Tweet Walls" version 1.0.4
You should first fix the following items:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,983 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
CSS21202838
PHP915940828
JavaScript35010317

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.31
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%
Functions47
▷ Named functions4697.87%
▷ Anonymous functions12.13%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin