89% easy-theme-child

Code Review | Easy Theme Child

WordPress plugin Easy Theme Child scored89%from 54 tests.

About plugin

  • Plugin page: easy-theme-child
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8.0-5.3
  • WordPress version: 6.3.1
  • First release: Sep 5, 2019
  • Latest release: Dec 12, 2019
  • Number of updates: 8
  • Update frequency: every 12.6 days
  • Top authors: shresthagarvit (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /613 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

A check of server-side resources used by Easy Theme Child
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.66 ▼1.32
Dashboard /wp-admin3.31 ▼0.0347.38 ▼16.27
Posts /wp-admin/edit.php3.36 ▲0.0146.32 ▼0.17
Add New Post /wp-admin/post-new.php5.89 ▲0.0181.83 ▼23.18
Media Library /wp-admin/upload.php3.23 ▲0.0038.58 ▲3.38

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Easy Theme Child
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲8613.23 ▼1.144.36 ▲2.5042.16 ▼2.41
Dashboard /wp-admin2,223 ▲354.94 ▼0.95103.53 ▼7.9578.97 ▲26.29
Posts /wp-admin/edit.php2,122 ▲331.98 ▼0.0634.13 ▼2.5531.98 ▼6.60
Add New Post /wp-admin/post-new.php1,546 ▲3222.99 ▲5.20754.15 ▲70.6541.72 ▼12.19
Media Library /wp-admin/upload.php1,423 ▲384.25 ▲0.06112.02 ▲12.5444.49 ▼0.20

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

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)
The smoke test was a success, however most plugin functionality was not tested

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Donate link: Please fix this invalid url: ""
The official readme.txt might help

easy-theme-child/easy-child-theme.php 85% from 13 tests

The entry point to "Easy Theme Child" version 1.0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
  • Main file name: The principal plugin file should be the same as the plugin slug ("easy-theme-child.php" instead of "easy-child-theme.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected200 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP430115189
SVG1009
Markdown1002

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions3
▷ Named functions3100.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
5 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
org_assets/screenshot-2.png30.98KB8.48KB▼ 72.63%
org_assets/icon-256x256.png14.50KB6.22KB▼ 57.11%
org_assets/screenshot-3.png30.33KB8.30KB▼ 72.65%
org_assets/screenshot-1.png22.41KB6.51KB▼ 70.96%
org_assets/banner-722x250.png108.00KB44.44KB▼ 58.85%