84% integrate-pods-act-yoast-seo

Code Review | Integrate Pods ACT with Yoast SEO

WordPress plugin Integrate Pods ACT with Yoast SEO scored84%from 54 tests.

About plugin

  • Plugin page: integrate-pods-ac...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.8.2
  • WordPress version: 6.3.1
  • First release: Sep 24, 2017
  • Latest release: Sep 24, 2017
  • Number of updates: 2
  • Update frequency: every 3.0 days
  • Top authors: ebrahimqnaibi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /872 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Integrate Pods ACT with Yoast SEO
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.87 ▲1.41
Dashboard /wp-admin3.32 ▲0.0242.35 ▼9.39
Posts /wp-admin/edit.php3.38 ▲0.0243.91 ▼2.27
Add New Post /wp-admin/post-new.php5.91 ▲0.0288.02 ▼16.25
Media Library /wp-admin/upload.php3.25 ▲0.0232.55 ▼1.53

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Integrate Pods ACT with Yoast SEO
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.28 ▼1.096.07 ▲4.2543.24 ▼0.66
Dashboard /wp-admin2,206 ▲155.79 ▼0.0996.24 ▼7.0737.71 ▼3.61
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0440.06 ▲1.8734.17 ▲0.71
Add New Post /wp-admin/post-new.php1,534 ▲1523.15 ▼0.15632.98 ▲18.4351.29 ▲2.65
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.0396.89 ▼3.4641.22 ▼3.02

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 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 50% from 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
Please fix the following
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/integrate-pods-act-yoast-seo/init.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/integrate-pods-act-yoast-seo/control-page.php:45

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: seo, pods, pods act, google search console, yoast

integrate-pods-act-yoast-seo/init.php 85% from 13 tests

The primary PHP file in "Integrate Pods ACT with Yoast SEO" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("integrate-pods-act-yoast-seo.php" instead of "init.php")
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase

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
Everything looks great! No dangerous files found in this plugin260 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP27225260

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity24.00
▷ Minimum class complexity24.00
▷ Maximum class complexity24.00
Average method complexity3.56
▷ Minimum method complexity2.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods111.11%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin