99% admin-page-spider

Code Review | Admin Page Spider

WordPress plugin Admin Page Spider scored 99% from 54 tests.

About plugin

  • Plugin page: admin-page-spider
  • Plugin version: 3.18
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.0-5.7.0
  • WordPress version: 5.8.1
  • First release: May 5, 2016
  • Latest release: Apr 15, 2021
  • Number of updates: 57
  • Update frequency: every 31.7 days
  • Top authors: jatacid (100%)

Code review

54 tests

User reviews

20 reviews

Install metrics

2,000+ active / 27,647 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.11MB] [CPU: ▼134.79ms] Passed 4 tests

This is a short check of server-side resources used by Admin Page Spider
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.95 ▲0.1140.55 ▲5.28
Dashboard /wp-admin3.17 ▲0.1152.40 ▲5.47
Posts /wp-admin/edit.php3.29 ▲0.1850.18 ▲3.21
Add New Post /wp-admin/post-new.php5.54 ▲0.11104.07 ▼551.77
Media Library /wp-admin/upload.php3.12 ▲0.1145.42 ▲4.12
Admin Page Spider Free /wp-admin/options-general.php?page=apspider_fields3.0939.53

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 4 new options
New WordPress options
apspp_posts_name
apspider_radio_editmenu
apspp_radio_viewposts
apspider_editmenu_name

Browser metrics Passed 4 tests

Admin Page Spider: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,811 ▲21515.90 ▼0.168.57 ▼0.2152.36 ▼2.26
Dashboard /wp-admin3,042 ▲1115.93 ▼0.02149.01 ▼2.39125.55 ▲4.87
Posts /wp-admin/edit.php2,811 ▲722.70 ▲0.0169.03 ▼2.8590.19 ▼3.13
Add New Post /wp-admin/post-new.php1,645 ▼3816.41 ▼2.34444.37 ▲32.74129.22 ▲22.97
Media Library /wp-admin/upload.php1,878 ▲715.05 ▼0.01163.63 ▲6.66140.22 ▲3.50
Admin Page Spider Free /wp-admin/options-general.php?page=apspider_fields1,2342.1056.91100.63

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

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 93% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (screenshot-2.png) image missing
  • Screenshots: A description for screenshot #4 is required in admin-page-spider/assets to your readme.txt
You can look at the official readme.txt

admin-page-spider/admin-page-spider.php Passed 13 tests

The main PHP file in "Admin Page Spider" ver. 3.18 adds more information about the plugin and also serves as the entry point for this plugin
123 characters long description:
Adds a list of your pages & posts to the admin bar so you have quick access instead of going into multiple dashboard pages.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected707 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP622695641
PO File1192366

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
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%
Functions25
▷ Named functions25100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin