90% noncensible

Code Review | Noncensible

WordPress plugin Noncensible scored90%from 54 tests.

About plugin

  • Plugin page: noncensible
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Jun 2, 2021
  • Latest release: Feb 17, 2023
  • Number of updates: 6
  • Update frequency: every 104.2 days
  • Top authors: lev0 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /421 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
Install script ran successfully

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

This is a short check of server-side resources used by Noncensible
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.86 ▼3.02
Dashboard /wp-admin3.31 ▼0.0344.91 ▼18.16
Posts /wp-admin/edit.php3.36 ▲0.0143.11 ▼0.16
Add New Post /wp-admin/post-new.php5.89 ▲0.0179.03 ▼19.45
Media Library /wp-admin/upload.php3.24 ▲0.0133.96 ▼3.78

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Noncensible
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.65 ▼0.951.78 ▼0.1644.17 ▲1.18
Dashboard /wp-admin2,206 ▲215.91 ▲1.04111.94 ▼5.6742.94 ▼0.28
Posts /wp-admin/edit.php2,089 ▼02.16 ▲0.1235.03 ▼1.5535.12 ▲0.80
Add New Post /wp-admin/post-new.php1,533 ▲1423.07 ▲0.01652.51 ▼18.7158.44 ▲3.92
Media Library /wp-admin/upload.php1,385 ▼04.22 ▲0.0798.38 ▼10.5843.35 ▼2.44

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: optimize, performance, nonce, cache, security...

noncensible/noncensible.php 92% from 13 tests

"Noncensible" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 148 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected41 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1105441

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.44
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%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin