78% seo-free

Code Review | Seo Free

WordPress plugin Seo Free scored78%from 54 tests.

About plugin

  • Plugin page: seo-free
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.7
  • WordPress version: 6.3.1
  • First release: Nov 11, 2013
  • Latest release: Jan 18, 2014
  • Number of updates: 20
  • Update frequency: every 3.5 days
  • Top authors: ivan9146 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /4,117 total downloads

Benchmarks

Plugin footprint 83% from 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: ▼4.26ms] Passed 4 tests

This is a short check of server-side resources used by Seo Free
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.52 ▼1.98
Dashboard /wp-admin3.32 ▲0.0247.77 ▼4.10
Posts /wp-admin/edit.php3.37 ▲0.0247.78 ▼0.38
Add New Post /wp-admin/post-new.php5.91 ▲0.0286.71 ▼10.59
Media Library /wp-admin/upload.php3.25 ▲0.0237.41 ▲0.35
Herramientas SEO Free /wp-admin/options-general.php?page=wp_skinhome3.2131.58

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Seo Free
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.35 ▲0.371.65 ▼0.0142.84 ▲5.76
Dashboard /wp-admin2,199 ▲225.63 ▼0.0589.90 ▼5.0338.20 ▼2.31
Posts /wp-admin/edit.php2,107 ▲102.00 ▲0.0535.50 ▼1.7831.63 ▼7.37
Add New Post /wp-admin/post-new.php1,531 ▲522.99 ▲0.05599.27 ▼44.0461.84 ▲7.18
Media Library /wp-admin/upload.php1,404 ▲104.15 ▼0.0395.85 ▼5.1342.42 ▼1.50
Herramientas SEO Free /wp-admin/options-general.php?page=wp_skinhome9547.55149.3633.16

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

Smoke tests 50% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-free/seo-free.php:12

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=wp_skinhome
    • > Network (severe)
    https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-9329069495351013&output=html&h=90&slotname=4556868763&adk=3194877276&adf=454517614&pi=t.ma~as.4556868763&w=728&lmt=1697957444&format=728x90&url=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dwp_skinhome&ea=0&wgl=1&dt=1697957444556&bpp=3&bdt=275&idt=247&shv=r20231017&mjsv=m202310170101&ptt=9&saldr=aa&abxe=1&correlator=7527177860622&frm=20&pv=2&ga_vid=1491945209.1697957445&ga_sid=1697957445&ga_hid=536813896&ga_fc=0&u_tz=180&u_his=14&u_h=600&u_w=800&u_ah=600&u_aw=800&u_cd=24&u_sd=1&adx=57&ady=1009&biw=785&bih=600&scr_x=0&scr_y=0&eid=44759875%2C44759926%2C42532335%2C44798934%2C44805113%2C44805533%2C44805681%2C44805931%2C31078301%2C44803791&oid=2&pvsid=2341650497795996&tmod=862860272&uas=0&nvt=1&fc=896&brdim=0%2C0%2C0%2C0%2C800%2C0%2C800%2C600%2C800%2C600&vis=1&rsz=o%7Co%7CpeEbr%7C&abl=NS&pfx=0&fu=0&bc=23&ifi=1&uci=a!1&btvi=1&fsb=1&dtd=269 - Failed to load resource: the server responded with a status of 400 ()

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === seo-free === )
The official readme.txt might help

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

The principal PHP file in "Seo Free" v. 1.4 is loaded by WordPress automatically on each request
79 characters long description:
All the tools to help improve positioning and monitoring of your wordpress blog

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
There were no executable files found in this plugin96 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP127896

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected