90% codechime-loader

Code Review | Codechime Loader

WordPress plugin Codechime Loader scored90%from 54 tests.

About plugin

  • Plugin page: codechime-loader
  • Plugin version: 1.0.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.1
  • WordPress version: 6.3.1
  • First release: Nov 20, 2020
  • Latest release: Feb 21, 2023
  • Number of updates: 22
  • Update frequency: every 37.5 days
  • Top authors: thecodechime (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active /2,178 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.68ms] Passed 4 tests

An overview of server-side resources used by Codechime Loader
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0439.63 ▼0.62
Dashboard /wp-admin3.32 ▲0.0145.76 ▼5.05
Posts /wp-admin/edit.php3.43 ▲0.0747.68 ▼1.05
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.66 ▼15.99
Media Library /wp-admin/upload.php3.24 ▲0.0137.93 ▼0.05

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Codechime Loader
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,887 ▲12613.84 ▼0.5014.02 ▲12.4645.06 ▲6.34
Dashboard /wp-admin2,195 ▲185.56 ▲0.0581.33 ▼16.1138.89 ▼2.52
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0233.63 ▼1.6232.45 ▼4.05
Add New Post /wp-admin/post-new.php1,526 ▼023.01 ▼0.03651.54 ▼3.5957.84 ▼3.95
Media Library /wp-admin/upload.php1,403 ▲34.14 ▼0.0296.13 ▼16.5141.97 ▼7.70

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

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)
Everything seems fine, however 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 97% 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
These attributes need to be fixed:
  • License uri: Please fix this invalid url: "LICENSE"
Please take inspiration from this readme.txt

codechime-loader/codechime-loader.php Passed 13 tests

Analyzing the main PHP file in "Codechime Loader" version 1.0.7
120 characters long description:
A great plugin to create beautiful animated preloader for your WordPress website without any hassle of complex settings.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,937 lines of code in 28 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript210610876
PHP14178406569
CSS12471492

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity24.50
▷ Minimum class complexity10.00
▷ Maximum class complexity39.00
Average method complexity3.14
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods22
▷ Static methods29.09%
▷ Public methods1672.73%
▷ Protected methods00.00%
▷ Private methods627.27%
Functions14
▷ Named functions1392.86%
▷ Anonymous functions17.14%
Constants8
▷ Global constants8100.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 were not PNG files found in your plugin