84% wordpress-camelcase-zealot

Code Review | WordPress CamelCase Zealot

WordPress plugin WordPress CamelCase Zealot scored 84% from 54 tests.

About plugin

  • Plugin page: wordpress-camelca...
  • Plugin version: 0.2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3.0-4.4
  • WordPress version: 6.3.1
  • First release: Sep 13, 2011
  • Latest release: Jan 13, 2016
  • Number of updates: 22
  • Update frequency: every 71.9 days
  • Top authors: neil_pie (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,032 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▼0.15MB] [CPU: ▼9.51ms] Passed 4 tests

A check of server-side resources used by WordPress CamelCase Zealot
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▼0.6117.76 ▼24.79
Dashboard /wp-admin3.31 ▲0.0145.96 ▼6.41
Posts /wp-admin/edit.php3.36 ▲0.0147.46 ▼2.82
Add New Post /wp-admin/post-new.php5.89 ▲0.0194.55 ▼4.03
Media Library /wp-admin/upload.php3.23 ▲0.0135.53 ▼0.95

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for WordPress CamelCase Zealot
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.19 ▼1.184.55 ▲2.7340.50 ▼2.87
Dashboard /wp-admin2,206 ▲245.81 ▼0.0596.18 ▼7.1739.02 ▼3.09
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0440.51 ▲5.3235.00 ▼0.39
Add New Post /wp-admin/post-new.php1,537 ▲1723.52 ▲0.23594.50 ▼107.6149.00 ▼11.86
Media Library /wp-admin/upload.php1,388 ▼34.22 ▲0.0196.17 ▼10.6645.70 ▲0.96

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wordpress-camelcase-zealot/wordpress-camelcase-zealot.php:54

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 errors were detected

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
Please fix the following attributes:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === wordpress-camelcase-zealot === )
You can take inspiration from this readme.txt

wordpress-camelcase-zealot/wordpress-camelcase-zealot.php 92% from 13 tests

The primary PHP file in "WordPress CamelCase Zealot" version 0.2.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 180 characters long)

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

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.67
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity2.50
▷ Minimum method complexity2.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods150.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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