94% all-in-one-seo-pack-importer

Code Review | All in One SEO Pack Importer

WordPress plugin All in One SEO Pack Importer scored 94% from 53 tests.

About plugin

  • Plugin page: all-in-one-seo-pa...
  • Plugin version: .1.5.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.1-5.1
  • WordPress version: 5.8.1
  • First release: Jul 22, 2010
  • Latest release: Feb 23, 2019
  • Number of updates: 14
  • Update frequency: every 224.2 days
  • Top authors: hallsofmontezuma (78.57%)pbaylies (28.57%)

Code review

53 tests

User reviews

1 review

Install metrics

1,000+ active / 133,820 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼246.76ms] Passed 4 tests

An overview of server-side resources used by All in One SEO Pack Importer
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1349.02 ▲26.96
Dashboard /wp-admin3.07 ▲0.0243.82 ▲8.69
Posts /wp-admin/edit.php3.13 ▲0.0259.40 ▲20.54
Add New Post /wp-admin/post-new.php5.44 ▲0.01162.16 ▼1,009.24
Media Library /wp-admin/upload.php3.02 ▲0.0131.96 ▼7.02
AIOSEOP Importer /wp-admin/options-general.php?page=aioseopi2.9928.44

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by All in One SEO Pack Importer
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,707 ▲10115.96 ▲0.167.96 ▼0.5745.43 ▼4.85
Dashboard /wp-admin2,964 ▲1115.94 ▲0.09139.48 ▲7.48106.93 ▼3.12
Posts /wp-admin/edit.php2,711 ▲82.69 ▼0.00102.08 ▲33.98160.34 ▲63.97
Add New Post /wp-admin/post-new.php1,659 ▲18018.36 ▲1.43414.18 ▲70.03117.84 ▲2.54
Media Library /wp-admin/upload.php1,777 ▲55.01 ▼0.00154.81 ▲9.26107.91 ▼9.89
AIOSEOP Importer /wp-admin/options-general.php?page=aioseopi1,0362.0954.4762.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-seo-pack-importer/all-in-one-seo-pack-importer.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === all-in-one-seo-pack-importer === )
You can take inspiration from this readme.txt

all-in-one-seo-pack-importer/all-in-one-seo-pack-importer.php 92% from 13 tests

The main file in "All in One SEO Pack Importer" v. .1.5.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of ".1.5.2")

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
No dangerous file extensions were detected77 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP127877

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.20
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 1 test

Image compression Passed 1 test

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected