99% create-with-code

Code Review | Create with Code

WordPress plugin Create with Code scored 99% from 54 tests.

About plugin

  • Plugin page: create-with-code
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-5.4
  • WordPress version: 5.8.1
  • First release: Sep 8, 2017
  • Latest release: Mar 26, 2020
  • Number of updates: 21
  • Update frequency: every 67.0 days
  • Top authors: pddring (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

600+ active / 7,094 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

An overview of server-side resources used by Create with Code
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1233.76 ▲10.77
Dashboard /wp-admin3.06 ▲0.0145.73 ▼0.23
Posts /wp-admin/edit.php3.12 ▲0.0142.31 ▼2.45
Add New Post /wp-admin/post-new.php5.42 ▼0.0188.91 ▼571.14
Media Library /wp-admin/upload.php3.01 ▲0.0127.96 ▼3.16

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Create with Code
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10815.89 ▲0.3411.50 ▲0.9349.40 ▲3.11
Dashboard /wp-admin2,970 ▲366.02 ▲0.01166.89 ▲4.37105.78 ▲0.81
Posts /wp-admin/edit.php2,739 ▼02.73 ▲0.0167.24 ▼0.4884.73 ▼1.09
Add New Post /wp-admin/post-new.php1,683 ▼1,89218.73 ▲3.79396.74 ▼96.41111.92 ▼0.02
Media Library /wp-admin/upload.php1,807 ▼35.09 ▲0.09150.04 ▼8.92111.94 ▲1.71

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
Uninstall script ran successfully

Smoke tests Passed 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)
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
Everything seems fine, however this is by no means an exhaustive test

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Donate link: Please fix this invalid URI: ""
Please take inspiration from this readme.txt

create-with-code/create-withcode.php 92% from 13 tests

The principal PHP file in "Create with Code" v. 1.4 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("create-with-code.php" instead of "create-withcode.php")

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
Success! There were no dangerous files found in this plugin34 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17934

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.36
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

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin