90% gibbertext

Code Review | Gibbertext

WordPress plugin Gibbertext scored 90% from 54 tests.

About plugin

  • Plugin page: gibbertext
  • Plugin version: 1.0
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.3
  • WordPress version: 6.3.1
  • First release: Jan 10, 2020
  • Latest release: Jan 10, 2020
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: joshlozad4 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 415 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼0.85ms] Passed 4 tests

An overview of server-side resources used by Gibbertext
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0146.20 ▲4.45
Dashboard /wp-admin3.31 ▲0.0147.23 ▼1.54
Posts /wp-admin/edit.php3.36 ▲0.0145.89 ▼1.02
Add New Post /wp-admin/post-new.php5.89 ▲0.0191.98 ▼2.99
Media Library /wp-admin/upload.php3.23 ▲0.0136.52 ▲2.16

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

Gibbertext: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.21 ▼1.481.80 ▼0.3241.91 ▼12.38
Dashboard /wp-admin2,206 ▲185.87 ▲0.07119.55 ▲12.4944.03 ▼3.85
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0335.58 ▼1.2833.97 ▼0.71
Add New Post /wp-admin/post-new.php1,544 ▲1118.18 ▼4.79605.00 ▼80.2447.50 ▼10.37
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.0495.77 ▼0.0641.09 ▼4.30

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: gibberish text, sample text, text generator, dummy text

gibbertext/gibbertext.php Passed 13 tests

The main PHP script in "Gibbertext" version 1.0 is automatically included on every request by WordPress
35 characters long description:
Adds gibberish text using shortcode

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin18 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP182018

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
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%
Functions2
▷ Named functions2100.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
There were not PNG files found in your plugin