90% cfs-yoast-analysis

Code Review | CFS Yoast Analysis

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

About plugin

  • Plugin page: cfs-yoast-analysis
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.9.0
  • WordPress version: 6.3.1
  • First release: Jan 17, 2017
  • Latest release: Feb 10, 2022
  • Number of updates: 7
  • Update frequency: every 263.9 days
  • Top authors: jchristopher (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 1,256 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by CFS Yoast Analysis
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.25 ▼9.11
Dashboard /wp-admin3.32 ▲0.0146.06 ▲0.98
Posts /wp-admin/edit.php3.37 ▲0.0149.98 ▲6.81
Add New Post /wp-admin/post-new.php5.90 ▲0.0192.28 ▼8.08
Media Library /wp-admin/upload.php3.24 ▲0.0134.40 ▲1.63

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by CFS Yoast Analysis
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.28 ▼1.021.54 ▼0.5341.16 ▼2.41
Dashboard /wp-admin2,209 ▲184.85 ▼0.04108.00 ▲5.8742.17 ▼1.13
Posts /wp-admin/edit.php2,086 ▼32.04 ▲0.0039.91 ▲1.0633.91 ▼3.77
Add New Post /wp-admin/post-new.php1,514 ▼017.73 ▲0.27613.33 ▼71.1352.77 ▼0.94
Media Library /wp-admin/upload.php1,382 ▼64.22 ▲0.0197.23 ▼9.6441.92 ▼0.94

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
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (There are no screenshots; there's no UI)
You can take inspiration from this readme.txt

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

Analyzing the main PHP file in "CFS Yoast Analysis" version 1.0.0
68 characters long description:
Integrate Custom Field Suite content in Yoast WordPress SEO analysis

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin83 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods375.00%
▷ Protected methods00.00%
▷ Private methods125.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants150.00%
▷ Class constants150.00%
▷ Public constants1100.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