84% matrixseo

Code Review | Matrix SEO

WordPress plugin Matrix SEO scored84%from 54 tests.

About plugin

  • Plugin page: matrixseo
  • Plugin version: 1.0.10
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.0.3
  • WordPress version: 6.3.1
  • First release: Jun 5, 2017
  • Latest release: Jan 17, 2019
  • Number of updates: 17
  • Update frequency: every 34.9 days
  • Top authors: matrixseo (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active /2,556 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼7.34ms] Passed 4 tests

This is a short check of server-side resources used by Matrix SEO
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.98 ▲0.46
Dashboard /wp-admin3.31 ▼0.0345.70 ▼14.82
Posts /wp-admin/edit.php3.36 ▲0.0160.54 ▲12.80
Add New Post /wp-admin/post-new.php5.89 ▲0.0180.66 ▼14.42
Media Library /wp-admin/upload.php3.23 ▲0.0133.41 ▼0.57

Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
These are issues you should consider
  • Illegal file modification found: 10 files (94.09KB) outside of "wp-content/plugins/matrixseo/" and "wp-content/uploads/"
    • (new file) wp-content/matrixseo/filter-params.php
    • (new file) wp-content/matrixseo/actions/index.php
    • (new file) wp-content/matrixseo/seips.php
    • (new file) wp-content/matrixseo/r_files/index.php
    • (new file) wp-content/matrixseo/s_files/index.php
    • (new file) wp-content/matrixseo/index.php
    • (new file) wp-content/matrixseo/urls/index.php
    • (new file) wp-content/matrixseo/stop-words.php
    • (new file) wp-content/matrixseo/debug.php
    • (new file) wp-content/matrixseo/refs.php
Filesystem: 40 new files
Database: 4 new tables, 25 new options
New tables
wp_mx_seo_history
wp_mx_seo_actions
wp_mx_seo_urls
wp_mx_seo_ignore
New WordPress options
widget_theysaidso_widget
mx_save_page_content
mx_signature_active
mx_throttle_active
mx_max_filesize
mx_total_se
mx_version
mx_activate_cronlog
db_upgraded
theysaidso_admin_options
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Matrix SEO
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.76 ▲0.081.77 ▲0.2943.86 ▲2.32
Dashboard /wp-admin2,209 ▲245.87 ▲0.02105.16 ▲4.5941.43 ▼2.79
Posts /wp-admin/edit.php2,092 ▲32.06 ▲0.0435.40 ▼0.1443.37 ▲7.52
Add New Post /wp-admin/post-new.php1,534 ▲2023.38 ▲5.80667.53 ▲0.4354.16 ▼6.66
Media Library /wp-admin/upload.php1,388 ▲34.19 ▼0.1592.11 ▼5.5541.34 ▼2.10

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Almost there! Just fix the following items
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/matrixseo/admin/views/matrixseo-admin-notice.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/matrixseo/admin/views/matrixseo-admin-widget.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
There were no plugin tags found

matrixseo/matrixseo.php Passed 13 tests

The main file in "Matrix SEO" v. 1.0.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
33 characters long description:
Increase organic traffic with SEO

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
Everything looks great! No dangerous files found in this plugin14,315 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
PHP204511,54014,315

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity34.91
▷ Minimum class complexity1.00
▷ Maximum class complexity105.00
Average method complexity3.44
▷ Minimum method complexity1.00
▷ Maximum method complexity36.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods153
▷ Static methods11373.86%
▷ Public methods12883.66%
▷ Protected methods10.65%
▷ Private methods2415.69%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/img/debug.png1.82KB1.29KB▼ 29.08%
admin/img/actions_files.png1.63KB1.00KB▼ 38.48%
admin/img/title_separators.png1.53KB0.75KB▼ 51.05%
admin/img/warning.png0.58KB0.33KB▼ 42.40%
admin/img/actions_30days.png1.83KB1.29KB▼ 29.57%