83% seo-crawlytics-data-export

Code Review | Seo Crawlytics Data Export & Delete

WordPress plugin Seo Crawlytics Data Export & Delete scored83%from 54 tests.

About plugin

  • Plugin page: seo-crawlytics-da...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.3
  • WordPress version: 6.3.1
  • First release: Apr 14, 2014
  • Latest release: Sep 23, 2023
  • Number of updates: 29
  • Update frequency: every 118.9 days
  • Top authors: apasionados (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /2,256 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Seo Crawlytics Data Export & Delete
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.18 ▼0.18
Dashboard /wp-admin3.31 ▲0.0046.21 ▼2.38
Posts /wp-admin/edit.php3.36 ▲0.0048.01 ▼3.95
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.09 ▼6.46
Media Library /wp-admin/upload.php3.23 ▲0.0036.72 ▲2.70

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Seo Crawlytics Data Export & Delete
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.381.81 ▲0.2041.14 ▲0.99
Dashboard /wp-admin2,195 ▲215.63 ▲0.0986.44 ▼0.9940.95 ▼0.30
Posts /wp-admin/edit.php2,097 ▼62.15 ▲0.1639.74 ▼0.4337.88 ▲0.07
Add New Post /wp-admin/post-new.php1,526 ▼023.22 ▲0.11659.44 ▼35.1463.13 ▲9.29
Media Library /wp-admin/upload.php1,400 ▲34.18 ▼0.04100.72 ▼15.8843.93 ▼3.04

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/seo-crawlytics-data-export/seocrawlytics-export.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 90% from 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
9 plugin tags: search engines, seocrawlytics, robots, search engine robots, elevatelocal...

seo-crawlytics-data-export/seocrawlytics-export.php 77% from 13 tests

The main PHP script in "Seo Crawlytics Data Export & Delete" version 1.0 is automatically included on every request by WordPress
The following require your attention:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Description: The description should be shorter than 140 characters (currently 338 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("seo-crawlytics-data-export.php" instead of "seocrawlytics-export.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected133 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP11326103
PO File151630

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.45
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 files were detected