84% wapuufall

Code Review | Wapuu Fall

WordPress plugin Wapuu Fall scored84%from 54 tests.

About plugin

  • Plugin page: wapuufall
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0.0-4.3
  • WordPress version: 6.3.1
  • First release: Mar 13, 2016
  • Latest release: Mar 13, 2016
  • Number of updates: 6
  • Update frequency: every 4.5 days
  • Top authors: yoshiii (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /597 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Wapuu Fall
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0725.05 ▼15.07
Dashboard /wp-admin3.31 ▼0.0349.75 ▼9.61
Posts /wp-admin/edit.php3.36 ▲0.0043.64 ▼6.04
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.36 ▼11.89
Media Library /wp-admin/upload.php3.23 ▲0.0033.02 ▼1.88

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Wapuu Fall
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,269 ▲52314.92 ▲0.3439.34 ▲37.6949.80 ▲9.82
Dashboard /wp-admin2,209 ▲185.91 ▲0.8196.73 ▼7.7838.90 ▼2.99
Posts /wp-admin/edit.php2,089 ▲32.04 ▲0.0533.65 ▼2.8835.35 ▲2.76
Add New Post /wp-admin/post-new.php1,536 ▲822.97 ▲4.54613.94 ▼15.5960.99 ▼0.61
Media Library /wp-admin/upload.php1,391 ▲64.24 ▲0.0299.39 ▼5.3046.59 ▲2.74

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wapuufall/wapuufall.php:23

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 issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === wapuufall === )
The official readme.txt might help

wapuufall/wapuufall.php 92% from 13 tests

Analyzing the main PHP file in "Wapuu Fall" version 1.0
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected257 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript26472249
PHP11157
Markdown1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions1
▷ Named functions1100.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
5 PNG files occupy 0.33MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/wct2012.png83.24KB29.19KB▼ 64.93%
images/wct2013.png93.68KB30.87KB▼ 67.04%
images/wctokyo_wapuu.png79.61KB23.79KB▼ 70.12%
images/wck-wapuu.png29.83KB13.62KB▼ 54.34%
screenshot-1.png54.11KB19.68KB▼ 63.64%