100% codechime-loader

Code Review | Codechime Loader

WordPress plugin Codechime Loader scored 100% from 53 tests.

About plugin

  • Plugin page: codechime-loader
  • Plugin version: 1.0.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.8
  • WordPress version: 5.8.1
  • First release: Nov 20, 2020
  • Latest release: Jul 19, 2021
  • Number of updates: 21
  • Update frequency: every 11.5 days
  • Top authors: thecodechime (100%)

Code review

53 tests

User reviews

1 review

Install metrics

60+ active / 844 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.09MB] [CPU: ▼277.82ms] 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 /2.92 ▲0.2033.42 ▲7.82
Dashboard /wp-admin3.14 ▲0.0846.46 ▲5.52
Posts /wp-admin/edit.php3.25 ▲0.1438.86 ▼3.80
Add New Post /wp-admin/post-new.php5.50 ▲0.0788.89 ▼1,105.90
Media Library /wp-admin/upload.php3.08 ▲0.0732.72 ▼7.10

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Codechime Loader
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,802 ▲19716.60 ▲1.1418.23 ▲7.9648.34 ▼3.58
Dashboard /wp-admin2,930 ▲805.91 ▲0.06133.19 ▼27.48105.96 ▲2.75
Posts /wp-admin/edit.php2,706 ▼02.69 ▼0.0163.39 ▼5.1893.77 ▼0.76
Add New Post /wp-admin/post-new.php1,653 ▲17218.81 ▲0.31377.45 ▲7.21108.77 ▼5.32
Media Library /wp-admin/upload.php1,701 ▼714.99 ▼0.01145.48 ▼17.13109.04 ▼7.78

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

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 everything seems fine, this is not 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

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • License uri: Invalid URI found ("")
The official readme.txt is a good inspiration

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

"Codechime Loader" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 | There should be no dangerous file extensions present in any WordPress plugin
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

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
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 1 test

Image compression Passed 1 test

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin