90% fx-seo

Code Review | f(x) SEO

WordPress plugin f(x) SEO scored90%from 54 tests.

About plugin

  • Plugin page: fx-seo
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.7
  • WordPress version: 6.3.1
  • First release: Jan 9, 2016
  • Latest release: Aug 1, 2016
  • Number of updates: 11
  • Update frequency: every 172.8 days
  • Top authors: turtlepod (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,392 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

A check of server-side resources used by f(x) SEO
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.29 ▲0.24
Dashboard /wp-admin3.32 ▲0.0246.24 ▼5.63
Posts /wp-admin/edit.php3.37 ▲0.0253.00 ▲1.66
Add New Post /wp-admin/post-new.php5.90 ▲0.0290.31 ▼9.42
Media Library /wp-admin/upload.php3.24 ▲0.0239.20 ▼1.72
SEO /wp-admin/options-general.php?page=fx-seo3.2134.12

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for f(x) SEO
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.36 ▲0.001.75 ▲0.0742.92 ▲1.01
Dashboard /wp-admin2,199 ▲225.60 ▲0.0285.30 ▼17.0537.66 ▼8.89
Posts /wp-admin/edit.php2,104 ▲71.99 ▲0.0138.43 ▲1.0436.55 ▲1.88
Add New Post /wp-admin/post-new.php1,529 ▲323.30 ▼0.04665.99 ▼24.0359.11 ▲4.61
Media Library /wp-admin/upload.php1,407 ▲74.18 ▲0.05110.03 ▼4.8049.06 ▲1.07
SEO /wp-admin/options-general.php?page=fx-seo8742.0229.5731.13

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: seo

fx-seo/fx-seo.php Passed 13 tests

The entry point to "f(x) SEO" version 1.1.0 is a PHP file that has certain tags in its header comment area
23 characters long description:
Very simple SEO plugin.

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
No dangerous file extensions were detected354 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP396192278
PO File1171773
CSS1003

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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