78% seo-for-your-app

Code Review | App

WordPress plugin App scored78%from 54 tests.

About plugin

  • Plugin page: seo-for-your-app
  • Plugin version: 0.3.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0+
  • WordPress version: 6.3.1
  • First release: Apr 14, 2015
  • Latest release: May 22, 2015
  • Number of updates: 11
  • Update frequency: every 3.5 days
  • Top authors: nebelhorn (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,210 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.03MB] [CPU: ▼6.82ms] Passed 4 tests

A check of server-side resources used by App
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0244.95 ▼2.67
Dashboard /wp-admin3.33 ▲0.0352.17 ▼2.65
Posts /wp-admin/edit.php3.38 ▲0.0344.41 ▼9.10
Add New Post /wp-admin/post-new.php5.91 ▲0.0386.27 ▼12.87
Media Library /wp-admin/upload.php3.26 ▲0.0341.48 ▲4.35
SEO For Your App /wp-admin/options-general.php?page=seo-for-your-app3.2030.17

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for App
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3314.67 ▲0.111.85 ▼0.5139.04 ▼3.82
Dashboard /wp-admin2,207 ▲224.87 ▼0.18103.90 ▼29.6740.38 ▼13.45
Posts /wp-admin/edit.php2,093 ▲42.03 ▲0.0138.43 ▲0.3234.28 ▼2.66
Add New Post /wp-admin/post-new.php1,536 ▲223.12 ▼0.15708.48 ▲29.4861.47 ▼1.58
Media Library /wp-admin/upload.php1,392 ▲44.22 ▲0.09110.76 ▼5.6746.02 ▼0.81
SEO For Your App /wp-admin/options-general.php?page=seo-for-your-app7872.0424.4631.14

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=seo-for-your-app
    • > Warning in wp-admin/includes/template.php+1771
    call_user_func() expects parameter 1 to be a valid callback, class 'NH_SEOAPPScripts' does not have a method 'sfya_print_section_info'

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
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-for-your-app/seo-for-your-app.php:23

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Screenshots: Screenshot #1 (SEO For Your App Plugin Option Page) image not found
  • Tested up to: Version not formatted correctly
  • Donate link: Please fix this invalid url: ""
You can take inspiration from this readme.txt

seo-for-your-app/seo-for-your-app.php Passed 13 tests

This is the main PHP file of "App" version 0.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
Adds SEO Deeplinking Capability for your App to your Site

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected136 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP12744111
PO File14425

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.40
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin