94% launchrock

Code Review | LaunchRock

WordPress plugin LaunchRock scored 94% from 54 tests.

About plugin

  • Plugin page: launchrock
  • Plugin version: 1.1.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3.0-3.5.2
  • WordPress version: 5.8.1
  • First release: Jul 17, 2013
  • Latest release: Jul 29, 2013
  • Number of updates: 27
  • Update frequency: every 0.4 days
  • Top authors: ziodave (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,946 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

Analyzing server-side resources used by LaunchRock
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1338.72 ▲16.04
Dashboard /wp-admin3.07 ▲0.0244.73 ▲0.48
Posts /wp-admin/edit.php3.12 ▲0.0145.56 ▲4.27
Add New Post /wp-admin/post-new.php5.43 ▼0.0185.78 ▼576.74
Media Library /wp-admin/upload.php3.01 ▲0.0137.04 ▲9.16

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for LaunchRock
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,786 ▲19016.59 ▲0.9514.34 ▲5.7745.52 ▲0.16
Dashboard /wp-admin2,970 ▲395.93 ▼0.08134.77 ▲5.18100.15 ▼19.51
Posts /wp-admin/edit.php2,739 ▼02.69 ▼0.0066.49 ▲0.3887.47 ▼3.72
Add New Post /wp-admin/post-new.php1,498 ▼17418.85 ▼0.25361.99 ▼31.58108.95 ▼1.25
Media Library /wp-admin/upload.php1,810 ▲35.01 ▼0.02148.21 ▼12.85122.82 ▲0.45

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/launchrock/launchrock.php:83

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 Passed 29 tests

readme.txt Passed 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
10 plugin tags: landing page, signup bar, launch page, sales pages, launchrock...

launchrock/launchrock.php Passed 13 tests

The principal PHP file in "LaunchRock" v. 1.1.9 is loaded by WordPress automatically on each request
60 characters long description:
A LaunchRock plug-in to embed the sign-up form in your blog.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin97 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP127952
JavaScript18045

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions5
▷ Named functions5100.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
No PNG files were detected