93% slick-write

Code Review | Slick Write

WordPress plugin Slick Write scored 93% from 54 tests.

About plugin

  • Plugin page: slick-write
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.5.1
  • WordPress version: 5.8.1
  • First release: Apr 22, 2013
  • Latest release: Apr 23, 2013
  • Number of updates: 9
  • Update frequency: every 0.1 days
  • Top authors: russtek (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active / 1,988 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼139.68ms] Passed 4 tests

An overview of server-side resources used by Slick Write
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0141.09 ▲3.90
Dashboard /wp-admin3.07 ▲0.0151.50 ▲1.92
Posts /wp-admin/edit.php3.12 ▲0.0148.36 ▲4.16
Add New Post /wp-admin/post-new.php5.42 ▼0.0196.38 ▼564.44
Media Library /wp-admin/upload.php3.01 ▲0.0132.67 ▼0.08

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Slick Write: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲13115.87 ▲0.307.54 ▼0.2952.43 ▼1.23
Dashboard /wp-admin2,970 ▲415.87 ▼0.06151.23 ▼0.63116.50 ▼7.92
Posts /wp-admin/edit.php2,739 ▼02.70 ▲0.0165.11 ▼0.5093.41 ▲2.35
Add New Post /wp-admin/post-new.php1,500 ▼2,22618.54 ▲3.39337.90 ▼121.17106.70 ▼25.26
Media Library /wp-admin/upload.php1,807 ▼35.01 ▲0.03165.52 ▲1.73126.91 ▲4.08

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables

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)
Good news, no errors were detected

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× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slick-write/slick-write.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 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
Please fix the following attributes:
  • Screenshots: These screenshots do not have images: #1 (In the editor's button bar), #2 (Flow), #3 (Critique), #4 (Stats)
  • Tags: You are using too many tags: 12 tag instead of maximum 10
You can look at the official readme.txt

slick-write/slick-write.php 92% from 13 tests

The main file in "Slick Write" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 258 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected63 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript17848
PHP16815

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected