62% wp-wall

Code Review | WP Wall

WordPress plugin WP Wall scored 62% from 54 tests.

About plugin

  • Plugin page: wp-wall
  • Plugin version: 1.7.3
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-4.2
  • WordPress version: 6.3.1
  • First release: Jul 3, 2008
  • Latest release: Dec 22, 2014
  • Number of updates: 52
  • Update frequency: every 45.5 days
  • Top authors: freediver (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

300+ active / 136,921 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼1.71MB] [CPU: ▼50.55ms] Passed 4 tests

An overview of server-side resources used by WP Wall
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.28 ▼1.188.62 ▼35.23
Dashboard /wp-admin2.29 ▼1.0110.99 ▼38.26
Posts /wp-admin/edit.php2.29 ▼1.0610.11 ▼37.23
Add New Post /wp-admin/post-new.php2.29 ▼3.599.71 ▼91.47
Media Library /wp-admin/upload.php2.29 ▼0.9410.15 ▼23.96

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded
wp_wall
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by WP Wall
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,945 ▲18813.74 ▼1.025.83 ▲3.8337.35 ▼8.99
Dashboard /wp-admin2,210 ▲224.85 ▼0.00106.77 ▼17.5338.75 ▼5.32
Posts /wp-admin/edit.php2,090 ▲11.96 ▼0.0440.21 ▲6.7834.68 ▲0.78
Add New Post /wp-admin/post-new.php1,545 ▲323.21 ▲5.13682.82 ▲81.1653.22 ▲3.42
Media Library /wp-admin/upload.php1,392 ▲74.24 ▲0.0594.69 ▼4.6341.27 ▼1.55
WP Wall /wp-admin/wp-wall.php260.440.0713.91

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method WpWallRecentCommentsWidget::init() should not be called statically
  • Zombie WordPress options were found after uninstall: 7 options
    • theysaidso_admin_options
    • wp_wall
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 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
Please fix the following items
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/wp-wall/wp-wall-widget-control.php
    • > /wp-content/plugins/wp-wall/wp-wall.php
  • 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Notice
      Undefined variable: after_title in wp-content/plugins/wp-wall/wp-wall-widget.php on line 4
    • > PHP Notice
      Undefined variable: show_all in wp-content/plugins/wp-wall/wp-wall-widget.php on line 11
    • > PHP Notice
      Undefined variable: wp_wall_plugin_url in wp-content/plugins/wp-wall/wp-wall-widget.php on line 9
    • > PHP Notice
      Undefined variable: title in wp-content/plugins/wp-wall/wp-wall-widget-control.php on line 3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-wall/recent-comments-widget.php:116
    • > PHP Notice
      Undefined variable: before_widget in wp-content/plugins/wp-wall/wp-wall-widget.php on line 3
    • > PHP Notice
      Undefined variable: wall_title in wp-content/plugins/wp-wall/wp-wall-widget.php on line 4
    • > PHP Notice
      Undefined variable: before_title in wp-content/plugins/wp-wall/wp-wall-widget.php on line 4
    • > PHP Notice
      Undefined variable: wp_wall_plugin_url in wp-content/plugins/wp-wall/wp-wall-widget.php on line 10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WPWall_ShowComments() in wp-content/plugins/wp-wall/wp-wall-widget.php:16

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/wp-wall.php
    • > Network (severe)
    wp-admin/wp-wall.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: Add images for these screenshots: #1 (WP Wall in Action), #2 (WP Wall Admin Panel)
You can look at the official readme.txt

wp-wall/wp-wall.php 92% from 13 tests

Analyzing the main PHP file in "WP Wall" version 1.7.3
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 194 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin667 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP522967538
JavaScript137670
CSS1231759

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity6.50
▷ Minimum class complexity1.00
▷ Maximum class complexity12.00
Average method complexity4.67
▷ Minimum method complexity2.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
17 compressed PNG files occupy 0.15MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
i/right2.png0.36KB0.28KB▼ 22.28%
i/idea.png0.81KB0.70KB▼ 13.99%
i/home.png0.94KB0.85KB▼ 9.97%
i/feed.png0.67KB0.70KB0.00%
i/right1.png0.82KB0.91KB0.00%