84% dynamic-seo-child-pages

Code Review | Dynamic SEO Child Pages

WordPress plugin Dynamic SEO Child Pages scored84%from 54 tests.

About plugin

  • Plugin page: dynamic-seo-child...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.1-4.9
  • WordPress version: 6.3.1
  • First release: Sep 12, 2017
  • Latest release: Sep 15, 2017
  • Number of updates: 5
  • Update frequency: every 0.6 days
  • Top authors: 8dayhomesale (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /915 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.13MB] [CPU: ▼1.16ms] Passed 4 tests

This is a short check of server-side resources used by Dynamic SEO Child Pages
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1342.39 ▼2.49
Dashboard /wp-admin3.43 ▲0.1252.21 ▼2.78
Posts /wp-admin/edit.php3.54 ▲0.1856.35 ▲6.73
Add New Post /wp-admin/post-new.php6.02 ▲0.12102.02 ▼4.62
Media Library /wp-admin/upload.php3.35 ▲0.1241.80 ▲5.26
Add New /wp-admin/post-new.php?post_type=dscp_page3.4957.02
All Dynamic SEO Child Pages /wp-admin/edit.php?post_type=dscp_page3.4040.22

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Dynamic SEO Child Pages
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5814.70 ▲0.091.54 ▼0.3142.88 ▼5.18
Dashboard /wp-admin2,219 ▲395.56 ▼0.1192.89 ▼1.4942.78 ▼2.59
Posts /wp-admin/edit.php2,127 ▲272.02 ▲0.0440.28 ▼12.1135.37 ▼6.12
Add New Post /wp-admin/post-new.php1,549 ▲1423.02 ▲4.56671.13 ▲4.0050.67 ▼20.30
Media Library /wp-admin/upload.php1,430 ▲304.23 ▼0.0196.53 ▼12.5841.18 ▼2.63
Add New /wp-admin/post-new.php?post_type=dscp_page2,3647.58183.2972.27
All Dynamic SEO Child Pages /wp-admin/edit.php?post_type=dscp_page1,1061.9332.2130.53

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Interface 'WPSEO_Sitemap_Provider' not found in wp-content/plugins/dynamic-seo-child-pages/inc/class-dscp-sitemap.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 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
8 plugin tags: dynamic content, seo, seo generator, dynamic pages, dynamic seo...

dynamic-seo-child-pages/dynamic-seo-child-pages.php Passed 13 tests

Analyzing the main PHP file in "Dynamic SEO Child Pages" version 1.1
65 characters long description:
Generate a ton of SEO content instantly with dynamic child pages.

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
Success! There were no dangerous files found in this plugin628 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP3201202596
CSS18029
Markdown1303

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity43.00
▷ Minimum class complexity38.00
▷ Maximum class complexity48.00
Average method complexity3.21
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods38
▷ Static methods12.63%
▷ Public methods2771.05%
▷ Protected methods1026.32%
▷ Private methods12.63%
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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin