90% boost-yoast-analysis-cfs

Code Review | Boost Yoast Analysis CFS

WordPress plugin Boost Yoast Analysis CFS scored 90% from 54 tests.

About plugin

  • Plugin page: boost-yoast-analy...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.7.2
  • WordPress version: 6.3.1
  • First release: May 24, 2017
  • Latest release: Jul 9, 2021
  • Number of updates: 7
  • Update frequency: every 215.4 days
  • Top authors: gr8nilay (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 936 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.08MB] [CPU: ▼10.35ms] Passed 4 tests

Analyzing server-side resources used by Boost Yoast Analysis CFS
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.54 ▼4.04
Dashboard /wp-admin3.06 ▼0.2434.83 ▼15.98
Posts /wp-admin/edit.php3.36 ▲0.0048.23 ▼1.48
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.67 ▼9.49
Media Library /wp-admin/upload.php3.13 ▼0.1025.21 ▼11.87

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Boost Yoast Analysis CFS
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.31 ▼1.014.32 ▲2.2841.37 ▼2.78
Dashboard /wp-admin2,203 ▲185.79 ▼0.0799.04 ▼0.8137.11 ▼7.22
Posts /wp-admin/edit.php2,089 ▲181.99 ▼0.0640.89 ▲4.3535.66 ▲2.42
Add New Post /wp-admin/post-new.php1,542 ▲918.38 ▼4.81651.24 ▲27.6460.49 ▲9.83
Media Library /wp-admin/upload.php1,385 ▼04.17 ▼0.1692.75 ▼6.4140.18 ▼2.10

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: custom fields to yoast, yoast seo analysis booster, cfs, seo, boost analysis...

boost-yoast-analysis-cfs/boost-yoast-analysis-cfs.php Passed 13 tests

"Boost Yoast Analysis CFS" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
74 characters long description:
This plugin will include your CFS created fields in yoast seo calculation.

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
There were no executable files found in this plugin28 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3112427
JavaScript1031

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected