94% acf-content-analysis-for-seopress

Code Review | ACF Content Analysis for SEOPress

WordPress plugin ACF Content Analysis for SEOPress scored 94% from 54 tests.

About plugin

  • Plugin page: acf-content-analy...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.7
  • WordPress version: 5.9.2
  • First release: Sep 24, 2020
  • Latest release: Mar 11, 2021
  • Number of updates: 20
  • Update frequency: every 8.4 days
  • Top authors: ziepman (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 691 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

An overview of server-side resources used by ACF Content Analysis for SEOPress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0156.48 ▲5.45
Dashboard /wp-admin3.41 ▲0.0035.98 ▼2.17
Posts /wp-admin/edit.php3.64 ▲0.0049.27 ▼26.26
Add New Post /wp-admin/post-new.php6.88 ▼0.0993.32 ▼1,225.25
Media Library /wp-admin/upload.php3.29 ▲0.0039.15 ▲12.21

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by ACF Content Analysis for SEOPress
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,825 ▲7115.98 ▲0.405.88 ▼0.793.25 ▲0.37
Dashboard /wp-admin2,895 ▲346.13 ▼0.19115.09 ▼18.28158.68 ▼12.95
Posts /wp-admin/edit.php2,691 ▼33.24 ▲0.0167.44 ▲2.29183.91 ▲37.63
Add New Post /wp-admin/post-new.php1,661 ▼016.20 ▲0.19427.97 ▼15.67179.00 ▼18.66
Media Library /wp-admin/upload.php1,695 ▼35.49 ▼0.05153.10 ▲8.52190.29 ▼2.80

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/acf-content-analysis-for-seopress/acf-content-analysis-for-seopress.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
7 plugin tags: seopress, acf, acf pro, search engine optimization, seo...

acf-content-analysis-for-seopress/acf-content-analysis-for-seopress.php Passed 13 tests

The principal PHP file in "ACF Content Analysis for SEOPress" v. 1.0.3 is loaded by WordPress automatically on each request
102 characters long description:
Ensure that SeoPress analyzes Advanced Custom Fields content including Flexible Content and Repeaters.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin182 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PO File31011100
PHP2181882

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin