94% academic-bloggers-toolkit

Code Review | Academic Blogger's Toolkit

WordPress plugin Academic Blogger's Toolkit scored 94% from 54 tests.

About plugin

  • Plugin page: academic-bloggers...
  • Plugin version: 5.2.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.3
  • WordPress version: 5.9.2
  • First release: Jul 4, 2015
  • Latest release: Oct 25, 2019
  • Number of updates: 112
  • Update frequency: every 14.1 days
  • Top authors: dsifford (100%)

Code review

54 tests

User reviews

27 reviews

Install metrics

900+ active / 30,160 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.11MB] [CPU: ▼301.99ms] 75% from 4 tests

This is a short check of server-side resources used by Academic Blogger's Toolkit
The following require your attention
  • RAM: The total memory usage must be kept under 10MB (currently 11.83MB on /wp-admin/options-general.php?page=abt-options)
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1453.15 ▲0.40
Dashboard /wp-admin3.55 ▲0.1432.86 ▲0.29
Posts /wp-admin/edit.php3.77 ▲0.1335.95 ▼1.04
Add New Post /wp-admin/post-new.php7.04 ▲0.0598.16 ▼1,207.45
Media Library /wp-admin/upload.php3.43 ▲0.1425.43 ▲0.25
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options11.8357.50

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 1 new option
New WordPress options
abt_options

Browser metrics Passed 4 tests

Checking browser requirements for Academic Blogger's Toolkit
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,770 ▲1615.83 ▲0.216.15 ▲0.042.31 ▼0.41
Dashboard /wp-admin2,897 ▲366.03 ▼0.26120.45 ▼23.37154.90 ▼15.42
Posts /wp-admin/edit.php2,693 ▲53.24 ▼0.0062.30 ▼3.38141.44 ▲3.37
Add New Post /wp-admin/post-new.php2,601 ▲91124.15 ▲3.57516.38 ▲72.24180.47 ▲19.16
Media Library /wp-admin/upload.php1,697 ▼15.57 ▲0.04141.47 ▼6.92190.45 ▼0.55
Academic Blogger's Toolkit /wp-admin/options-general.php?page=abt-options1,4138.82171.64201.94

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully

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
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=abt-options
    • > Network (severe)
    https://assets.codepen.io/assets/embed/ei.js?ver=5.2.2 - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Tags: Too many tags (33 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

academic-bloggers-toolkit/academic-bloggers-toolkit.php Passed 13 tests

The main file in "Academic Blogger's Toolkit" v. 5.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
A plugin extending the functionality of WordPress for academic blogging

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
Success! There were no dangerous files found in this plugin817 lines of code in 26 files:
LanguageFilesBlank linesComment linesLines of code
PHP1389184755
CSS55545
JavaScript709416
JSON1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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
Namespaces6
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%
Functions26
▷ Named functions2284.62%
▷ Anonymous functions415.38%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin